summaryrefslogtreecommitdiff
path: root/source4/param/share_classic.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-08 23:32:18 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:48:53 +0100
commitfd88c3ca2480fabb90c0d8fc701394bb59f99481 (patch)
tree5b00876234b955b5378c223bcb202f1e4f3151ff /source4/param/share_classic.c
parent5f9aeca0d66c55896a0ab20cf73dda4ca4b22a39 (diff)
downloadsamba-fd88c3ca2480fabb90c0d8fc701394bb59f99481.tar.gz
r26348: Avoid use of autofree context.
(This used to be commit eebcf7e1b06ca48cc53bdd12efa01fcf0cff8aa3)
Diffstat (limited to 'source4/param/share_classic.c')
-rw-r--r--source4/param/share_classic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/param/share_classic.c b/source4/param/share_classic.c
index 7a0c2873f4d..ab1b4bf904a 100644
--- a/source4/param/share_classic.c
+++ b/source4/param/share_classic.c
@@ -240,7 +240,7 @@ static const char **sclassic_string_list_option(TALLOC_CTX *mem_ctx, struct shar
*val = '\0';
val++;
- ret = lp_parm_string_list(global_loadparm, s, parm, val, ",;");
+ ret = lp_parm_string_list(mem_ctx, global_loadparm, s, parm, val, ",;");
talloc_free(parm);
return ret;
}