summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: