summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-09-25 00:54:45 +0200
committerMichael Adam <obnox@samba.org>2008-09-27 22:28:26 +0200
commit1578610aefe28be1b121f3a957787e98a5536b85 (patch)
tree282fe032234e5abe19cb73cc256264f06c8826bf /source3/param
parentaa388a20053dc1809e8fcf12dbc6eddcec23d77e (diff)
downloadsamba-1578610aefe28be1b121f3a957787e98a5536b85.tar.gz
samba-1578610aefe28be1b121f3a957787e98a5536b85.tar.bz2
samba-1578610aefe28be1b121f3a957787e98a5536b85.zip
[s3]loadparm: remove superfluous talloc context / talloc_stackframe call.
Michael
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index fda086cacf..dc7026268b 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);
}