summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util_str.c1
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++;