1
0
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:
Volker Lendecke 2008-12-30 15:47:06 +01:00
parent b3abd484db
commit fee2664dad

View File

@ -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);