summaryrefslogtreecommitdiff
path: root/source4/client
diff options
context:
space:
mode:
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;
}