]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - backend/ipp.c
Fix memory leaks found by Coverity (Issue #5375)
[thirdparty/cups.git] / backend / ipp.c
index 32eb3aaa4bc311e3d6d7998983428455d9589258..2a880bd759f5914ad5479876379121edc0436343 100644 (file)
@@ -3612,6 +3612,8 @@ update_reasons(ipp_attribute_t *attr,     /* I - printer-state-reasons or NULL */
     }
   }
 
+  cupsArrayDelete(new_reasons);
+
   _cupsMutexUnlock(&report_mutex);
 
  /*