summaryrefslogtreecommitdiff
path: root/source3/printing/nt_printing.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-04-24 11:31:01 +0000
committerAndrew Tridgell <tridge@samba.org>2000-04-24 11:31:01 +0000
commitbefb7a100e4e60655ecbf4e3c9bfd91048dda92f (patch)
treeee3fca18423191b694f24ba0558564e9a85f0abc /source3/printing/nt_printing.c
parentf0442220fa57c77c6691f3301bc0d80635d0b23f (diff)
downloadsamba-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/nt_printing.c')
-rw-r--r--source3/printing/nt_printing.c1
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);