mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
Fix a memory leak in cups_pull_comment_location
We allocated "request" with ippNew, so we also should ippDelete it.
This commit is contained in:
parent
b3abd484db
commit
fee2664dad
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user