diff options
author | Michael Adam <obnox@samba.org> | 2008-09-25 00:54:45 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-09-27 22:28:26 +0200 |
commit | 1578610aefe28be1b121f3a957787e98a5536b85 (patch) | |
tree | 282fe032234e5abe19cb73cc256264f06c8826bf /source3/param | |
parent | aa388a20053dc1809e8fcf12dbc6eddcec23d77e (diff) | |
download | samba-1578610aefe28be1b121f3a957787e98a5536b85.tar.gz |
[s3]loadparm: remove superfluous talloc context / talloc_stackframe call.
Michael
Diffstat (limited to 'source3/param')
-rw-r--r-- | source3/param/loadparm.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index fda086cacff..dc7026268b8 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -7188,8 +7188,6 @@ bool lp_do_parameter(int snum, const char *pszParmName, const char *pszParmValue parmnum = map_parameter(pszParmName); if (parmnum < 0) { - TALLOC_CTX *frame; - if (strchr(pszParmName, ':') == NULL) { DEBUG(0, ("Ignoring unknown parameter \"%s\"\n", pszParmName)); @@ -7200,13 +7198,10 @@ bool lp_do_parameter(int snum, const char *pszParmName, const char *pszParmValue * We've got a parametric option */ - frame = talloc_stackframe(); - opt_list = (snum < 0) ? &Globals.param_opt : &ServicePtrs[snum]->param_opt; set_param_opt(opt_list, pszParmName, pszParmValue); - TALLOC_FREE(frame); return (True); } |