summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/printing/print_cups.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/printing/print_cups.c b/source3/printing/print_cups.c
index ca3415ca5a..5fb1d379a6 100644
--- a/source3/printing/print_cups.c
+++ b/source3/printing/print_cups.c
@@ -1769,6 +1769,10 @@ bool cups_pull_comment_location(NT_PRINTER_INFO_LEVEL_2 *printer)
if (response)
ippDelete(response);
+ if (request) {
+ ippDelete(request);
+ }
+
if (language)
cupsLangFree(language);