From befb7a100e4e60655ecbf4e3c9bfd91048dda92f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 24 Apr 2000 11:31:01 +0000 Subject: fixed another memory leak (This used to be commit 780713f67a848ade49c523cda96015ab46337cde) --- source3/printing/nt_printing.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source3') 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); -- cgit