diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/notify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/notify.c b/source3/smbd/notify.c index a17afc7dee..d141fb2180 100644 --- a/source3/smbd/notify.c +++ b/source3/smbd/notify.c @@ -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; |