]> git.ipfire.org Git - thirdparty/cups.git/commit
scheduler/colorman.c: Fix memory leak during creating color profile
authorzdohnal <zdohnal@redhat.com>
Fri, 24 Nov 2023 05:08:51 +0000 (06:08 +0100)
committerGitHub <noreply@github.com>
Fri, 24 Nov 2023 05:08:51 +0000 (06:08 +0100)
commit17985bb60f8646aa108fe79bff7548e81ab65d8e
tree67bec786637cc0ae86ea2cc2f67d5bd0d47c24e9
parent055f1c040fa84efda9c7b2b1d0f30fe48b4cb720
parent7687e767a9cc07e6d0f17300d4c416ad467b35ec
scheduler/colorman.c: Fix memory leak during creating color profile

Since the array profiles is set to use strdup() as a copy function, we don't have to use strdup() on the element which is passed as parameter of cupsArrayAdd() - using the strdup() as we used till now causes memory leak.

Reproducer is the same as #813 .