]> git.ipfire.org Git - thirdparty/cups-filters.git/commit
libcupsfilters: Close files on file copy error in filter functions
authorchandresh soni <75661901+Chandresh2702@users.noreply.github.com>
Thu, 13 Jan 2022 20:07:18 +0000 (01:37 +0530)
committerGitHub <noreply@github.com>
Thu, 13 Jan 2022 20:07:18 +0000 (21:07 +0100)
commite9e01b85e19e8ef8f7e3582fb765ef1fd2848445
tree731a519086544122e81c4239b916455d9fed82b3
parentc71879afdbb37e5ef79e1187f2e5f30524302387
libcupsfilters: Close files on file copy error in filter functions

Some filter functions do not close the input file when it comes to an error opening a temporary file to copy the input into. This causes a memory leak in continuously running callers, like Printer Applications.
cupsfilters/ghostscript.c
cupsfilters/imagetopdf.c
cupsfilters/imagetoraster.c