diff options
author | Andreas Schneider <asn@samba.org> | 2013-02-20 09:48:59 +0100 |
---|---|---|
committer | Alexander Bokovoy <ab@samba.org> | 2013-02-22 16:36:14 +0100 |
commit | cf8be08968f2aae3769140aee00ecac542ff1884 (patch) | |
tree | 163c795575b4d658ef37bd05448ac8a83f36a47a | |
parent | d5a210a26f289bba92192187fa543ed70bdf8387 (diff) | |
download | samba-cf8be08968f2aae3769140aee00ecac542ff1884.tar.gz samba-cf8be08968f2aae3769140aee00ecac542ff1884.tar.xz samba-cf8be08968f2aae3769140aee00ecac542ff1884.zip |
s4-client: Don't leak memory.
Reviewed-by: Alexander Bokovoy <ab@samba.org>
-rw-r--r-- | source4/client/client.c | 2 |
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; } |