summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-09-25 10:41:05 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-09-25 14:43:01 +1000
commitc4f143f9d7a1502712d8a6b1c872a13632a5cff3 (patch)
treef6b482b29cd17635f522e63b06b3c83c5a3d0c51 /source3/client
parent6749cfb418cd8e21df626c7144f1f4db3b6770e7 (diff)
downloadsamba-c4f143f9d7a1502712d8a6b1c872a13632a5cff3.tar.gz
samba-c4f143f9d7a1502712d8a6b1c872a13632a5cff3.tar.bz2
samba-c4f143f9d7a1502712d8a6b1c872a13632a5cff3.zip
client: Fix talloc_stackframe() free order assertion in developer mode
Reported-by: Ricky Nance <ricky.nance@weaubleau.k12.mo.us>
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/client.c1
1 files changed, 1 insertions, 0 deletions
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: