summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-03-22 23:32:50 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-03-22 23:32:50 +0000
commit79f3265893a60c9109b02407d15d13f18925c751 (patch)
tree9c5034c144fc441c2811a01b9a15cdb76186572a /source3/param
parentda40f7303ae2546abd26dcccdb04979fbaa98530 (diff)
downloadsamba-79f3265893a60c9109b02407d15d13f18925c751.tar.gz
samba-79f3265893a60c9109b02407d15d13f18925c751.tar.bz2
samba-79f3265893a60c9109b02407d15d13f18925c751.zip
(merge from HEAD) Valgrind found some memory leaks!
(This used to be commit 8315b9c3119dde62aeb72ad5e20f63aee89abd0b)
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 85f92e81ff..cb03d26e61 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -2954,6 +2954,7 @@ BOOL lp_do_parameter(int snum, const char *pszParmName, const char *pszParmValue
break;
case P_LIST:
+ str_list_free(parm_ptr);
*(char ***)parm_ptr = str_list_make(pszParmValue, NULL);
break;