diff options
author | Michael Adam <obnox@samba.org> | 2008-09-27 22:19:56 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-09-27 22:28:27 +0200 |
commit | 3358a139d2dc77eb4c842d41722b1acc24bd2cb2 (patch) | |
tree | 49b1fdfe9992c45e72b95198aa17df04d6a1cf4a /source3/printing | |
parent | e56c89b5e85f565e03818abc4fa5354bdf473dee (diff) | |
download | samba-3358a139d2dc77eb4c842d41722b1acc24bd2cb2.tar.gz samba-3358a139d2dc77eb4c842d41722b1acc24bd2cb2.tar.bz2 samba-3358a139d2dc77eb4c842d41722b1acc24bd2cb2.zip |
[s3]loadparm: refactor freeing of parameter data out and reduce memleak.
Add new functions free_parameter(), free_parameters() and
free_global_parameters() and use these in the appropriate places,
reducing code duplication.
Also, always TALLOC_FREE data of type P_LIST, thus reducing mem-leaks:
This had not been done in init_globals before.
Michael
Diffstat (limited to 'source3/printing')
0 files changed, 0 insertions, 0 deletions