diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-04-24 11:31:01 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-04-24 11:31:01 +0000 |
commit | befb7a100e4e60655ecbf4e3c9bfd91048dda92f (patch) | |
tree | ee3fca18423191b694f24ba0558564e9a85f0abc /source3/printing | |
parent | f0442220fa57c77c6691f3301bc0d80635d0b23f (diff) | |
download | samba-befb7a100e4e60655ecbf4e3c9bfd91048dda92f.tar.gz samba-befb7a100e4e60655ecbf4e3c9bfd91048dda92f.tar.bz2 samba-befb7a100e4e60655ecbf4e3c9bfd91048dda92f.zip |
fixed another memory leak
(This used to be commit 780713f67a848ade49c523cda96015ab46337cde)
Diffstat (limited to 'source3/printing')
-rw-r--r-- | source3/printing/nt_printing.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c index c30a35e26f..faf660e92f 100644 --- a/source3/printing/nt_printing.c +++ b/source3/printing/nt_printing.c @@ -797,6 +797,7 @@ BOOL unlink_specific_param_if_exist(NT_PRINTER_INFO_LEVEL_2 *info_2, NT_PRINTER_ { DEBUG(109,("deleting first value\n")); info_2->specific=current->next; + safe_free(current->data); free(current); DEBUG(109,("deleted first value\n")); return (True); |