diff --git a/scheduler/colorman.c b/scheduler/colorman.c index 809ed7c..9071271 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: