diff --git a/CHANGES.md b/CHANGES.md index d57542ab2f..50bc96cb28 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -4,6 +4,7 @@ CHANGES - OpenPrinting CUPS 2.4.8 - TBA Changes in CUPS v2.4.8 (TBA) ---------------------------- +- Fixed memory leak when creating color profiles (Issue #815) - Fixed memory leak when unloading a job (Issue #813) - Raised `cups_enum_dests()` timeout for listing available IPP printers (Issue #751) - Really backport fix for Issue #742 diff --git a/scheduler/colorman.c b/scheduler/colorman.c index 809ed7c65d..9071271f0b 100644 --- a/scheduler/colorman.c +++ b/scheduler/colorman.c @@ -1080,7 +1080,7 @@ colord_create_profile( dbus_message_iter_get_basic(&args, &profile_path); cupsdLogMessage(CUPSD_LOG_DEBUG, "Created profile \"%s\".", profile_path); - cupsArrayAdd(profiles, strdup(profile_path)); + cupsArrayAdd(profiles, profile_path); out: