summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/param/loadparm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 543e9bab9f..df08c9693e 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -3085,6 +3085,9 @@ void lp_add_one_printer(char *name, char *comment)
ServicePtrs[i]->autoloaded = True;
}
}
+
+ /* free up temporary memory */
+ lp_talloc_free();
}
/***************************************************************************