delete response only when not NULL
@@ -7833,9 +7833,9 @@ gboolean update_cups_queues(gpointer unused) {
else {
debug_printf ("CUPS queue with URI %s found, but with \"printer-name\" %s", uri, ippGetString(attr, 0, NULL));
}
- }
ippDelete(response);
+ }
if (dest) {
/* CUPS has found a queue with this name.
