]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Use convert_string_talloc, thanks Andrew!
authorVolker Lendecke <vl@samba.org>
Mon, 13 Apr 2009 07:29:32 +0000 (09:29 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 13 Apr 2009 07:30:18 +0000 (09:30 +0200)
source3/smbd/notify.c

index a17afc7dee89523c1acefc5bfc78896fd2252487..d141fb218077a34945c57b00ddea3f07bdfa2608 100644 (file)
@@ -81,7 +81,7 @@ static bool notify_marshall_changes(int num_changes,
 
                c = &changes[i];
 
-               if (!convert_string_allocate(talloc_tos(), CH_UNIX, CH_UTF16LE,
+               if (!convert_string_talloc(talloc_tos(), CH_UNIX, CH_UTF16LE,
                        c->name, strlen(c->name)+1, &uni_name.buffer,
                        &namelen, True) || (uni_name.buffer == NULL)) {
                        goto fail;