From: zdohnal Date: Fri, 24 Nov 2023 05:08:51 +0000 (+0100) Subject: scheduler/colorman.c: Fix memory leak during creating color profile X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17985bb60f8646aa108fe79bff7548e81ab65d8e;p=thirdparty%2Fcups.git 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 . --- 17985bb60f8646aa108fe79bff7548e81ab65d8e