From c4f143f9d7a1502712d8a6b1c872a13632a5cff3 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 25 Sep 2012 10:41:05 +1000 Subject: client: Fix talloc_stackframe() free order assertion in developer mode Reported-by: Ricky Nance --- source3/client/client.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/client') diff --git a/source3/client/client.c b/source3/client/client.c index 1ee98565aa..ab0e77f50a 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -4970,6 +4970,7 @@ static char **remote_completion(const char *text, int len) info.matches[0] = SMB_STRNDUP(info.matches[1], info.samelen); info.matches[info.count] = NULL; + TALLOC_FREE(ctx); return info.matches; cleanup: -- cgit