summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2001-08-22 01:48:45 +0000
committerGerald Carter <jerry@samba.org>2001-08-22 01:48:45 +0000
commit8ca7ec6389b6785478eb1138ab2dc90fc6362a58 (patch)
tree504a93852ecce783c74777bd69b9afd0555669a3
parent3ec862e6dbf1be85367856d02949b208cd5cc6cd (diff)
downloadsamba-8ca7ec6389b6785478eb1138ab2dc90fc6362a58.tar.gz
samba-8ca7ec6389b6785478eb1138ab2dc90fc6362a58.tar.bz2
samba-8ca7ec6389b6785478eb1138ab2dc90fc6362a58.zip
merge from 2.2
(This used to be commit a50c3df15b3a82b4363fde0442c98edea067b4ae)
-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();
}
/***************************************************************************