git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d5a210a
)
s4-client: Don't leak memory.
author
Andreas Schneider
<asn@samba.org>
Wed, 20 Feb 2013 08:48:59 +0000
(09:48 +0100)
committer
Alexander Bokovoy
<ab@samba.org>
Fri, 22 Feb 2013 15:36:14 +0000
(16:36 +0100)
Reviewed-by: Alexander Bokovoy <ab@samba.org>
source4/client/client.c
patch
|
blob
|
history
diff --git
a/source4/client/client.c
b/source4/client/client.c
index 5e8f5ca8aebf3edddfb1e63376fd6613a4540733..43b0903cdc625820721ac7054f6c2aa68e65672b 100644
(file)
--- 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);
}
d_printf("%s\n", altname);
+ SAFE_FREE(altname);
+
return 0;
}
return 0;
}