diff options
author | Michael R Sweet <michael.r.sweet@gmail.com> | 2018-08-21 10:01:44 -0400 |
---|---|---|
committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2018-08-21 10:01:44 -0400 |
commit | 3416fe952b3852bb7076d64b54048cc2fac1f80c (patch) | |
tree | b0118cc382b0e0ceb21729d8e519e5b7d002cf1c /backend | |
parent | 5c463d3fe0cdac4ed29c7124daf04e1fdcfe7186 (diff) | |
download | cups-3416fe952b3852bb7076d64b54048cc2fac1f80c.tar.gz |
Fix memory leaks found by Coverity (Issue #5375)
Diffstat (limited to 'backend')
-rw-r--r-- | backend/ipp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backend/ipp.c b/backend/ipp.c index 32eb3aaa4..2a880bd75 100644 --- a/backend/ipp.c +++ b/backend/ipp.c @@ -3612,6 +3612,8 @@ update_reasons(ipp_attribute_t *attr, /* I - printer-state-reasons or NULL */ } } + cupsArrayDelete(new_reasons); + _cupsMutexUnlock(&report_mutex); /* |