summaryrefslogtreecommitdiff
path: root/source4/client
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2013-02-20 09:48:59 +0100
committerAlexander Bokovoy <ab@samba.org>2013-02-22 16:36:14 +0100
commitcf8be08968f2aae3769140aee00ecac542ff1884 (patch)
tree163c795575b4d658ef37bd05448ac8a83f36a47a /source4/client
parentd5a210a26f289bba92192187fa543ed70bdf8387 (diff)
downloadsamba-cf8be08968f2aae3769140aee00ecac542ff1884.tar.gz
samba-cf8be08968f2aae3769140aee00ecac542ff1884.tar.bz2
samba-cf8be08968f2aae3769140aee00ecac542ff1884.zip
s4-client: Don't leak memory.
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Diffstat (limited to 'source4/client')
-rw-r--r--source4/client/client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/client/client.c b/source4/client/client.c
index 5e8f5ca8ae..43b0903cdc 100644
--- a/source4/client/client.c
+++ b/source4/client/client.c
@@ -1085,6 +1085,8 @@ static int cmd_altname(struct smbclient_context *ctx, const char **args)
}
d_printf("%s\n", altname);
+ SAFE_FREE(altname);
+
return 0;
}