From 18486b3b69978d6d34641eee6aa274cc7ea84542 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 24 Feb 2014 16:18:31 -0800 Subject: [PATCH] Fix obvious memory leak in printer_list_get_printer(). https://bugzilla.samba.org/show_bug.cgi?id=9993 Signed-off-by: Jeremy Allison --- source3/printing/printer_list.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source3/printing/printer_list.c b/source3/printing/printer_list.c index a64775d..4a66b96 100644 --- a/source3/printing/printer_list.c +++ b/source3/printing/printer_list.c @@ -134,6 +134,7 @@ NTSTATUS printer_list_get_printer(TALLOC_CTX *mem_ctx, done: SAFE_FREE(nstr); SAFE_FREE(cstr); + SAFE_FREE(lstr); TALLOC_FREE(key); return status; } -- 1.9.0.rc1.175.g0b1dcb5