diff options
author | Jeremy Allison <jra@samba.org> | 2004-08-30 18:27:07 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:52:31 -0500 |
commit | 58a146033012183f44a045b6c6a35c7c74dbf7dd (patch) | |
tree | 3a59bff269d0060d18d7e895e4c18718167813bd /source3/lib | |
parent | 922d51b522acc06d27cfe37177973513f68c132a (diff) | |
download | samba-58a146033012183f44a045b6c6a35c7c74dbf7dd.tar.gz samba-58a146033012183f44a045b6c6a35c7c74dbf7dd.tar.bz2 samba-58a146033012183f44a045b6c6a35c7c74dbf7dd.zip |
r2111: Fix memleak with valid names.
Jeremy.
(This used to be commit 3f0707132afc66109701766528cb0bd1e1c7cd8c)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/util_str.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/util_str.c b/source3/lib/util_str.c index 3e6de23e55..250d6ed6a0 100644 --- a/source3/lib/util_str.c +++ b/source3/lib/util_str.c @@ -1682,6 +1682,7 @@ BOOL str_list_sub_basic( char **list, const char *smb_name ) return False; } + SAFE_FREE(*list); *list = tmpstr; list++; |