From cf8be08968f2aae3769140aee00ecac542ff1884 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 20 Feb 2013 09:48:59 +0100 Subject: s4-client: Don't leak memory. Reviewed-by: Alexander Bokovoy --- source4/client/client.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4/client') 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; } -- cgit