color-store: Fix small file path leak in ensure_device_profile

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2603>
This commit is contained in:
Sebastian Keller 2022-09-01 19:55:22 +02:00 committed by Marge Bot
parent 57c7d75c43
commit 48ff211762

View File

@ -494,7 +494,7 @@ meta_color_store_ensure_device_profile (MetaColorStore *color_store,
const char *edid_checksum_md5; const char *edid_checksum_md5;
g_autoptr (GTask) task = NULL; g_autoptr (GTask) task = NULL;
g_autofree char *file_name = NULL; g_autofree char *file_name = NULL;
char *file_path; g_autofree char *file_path = NULL;
EnsureDeviceProfileData *data; EnsureDeviceProfileData *data;
MetaColorProfile *color_profile; MetaColorProfile *color_profile;