diff options
Diffstat (limited to 'source4/param/share.c')
-rw-r--r-- | source4/param/share.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/param/share.c b/source4/param/share.c index da0470d5606..2bf4b89c23c 100644 --- a/source4/param/share.c +++ b/source4/param/share.c @@ -24,9 +24,9 @@ #include "param/param.h" #include "lib/util/samba_modules.h" -const char *share_string_option(struct share_config *scfg, const char *opt_name, const char *defval) +char *share_string_option(TALLOC_CTX *mem_ctx, struct share_config *scfg, const char *opt_name, const char *defval) { - return scfg->ctx->ops->string_option(scfg, opt_name, defval); + return scfg->ctx->ops->string_option(mem_ctx, scfg, opt_name, defval); } int share_int_option(struct share_config *scfg, const char *opt_name, int defval) |