From 94d3047de19a73c30f218d13a4847a4d354a61aa Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 13 Apr 2009 09:29:32 +0200 Subject: Use convert_string_talloc, thanks Andrew! --- source3/smbd/notify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbd/notify.c') 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; -- cgit