From 48ff21176269cf8d41c83a7f53e8ac5ceea089b4 Mon Sep 17 00:00:00 2001 From: Sebastian Keller Date: Thu, 1 Sep 2022 19:55:22 +0200 Subject: [PATCH] color-store: Fix small file path leak in ensure_device_profile Part-of: --- src/backends/meta-color-store.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/meta-color-store.c b/src/backends/meta-color-store.c index ae0188390..8f1dad2f4 100644 --- a/src/backends/meta-color-store.c +++ b/src/backends/meta-color-store.c @@ -494,7 +494,7 @@ meta_color_store_ensure_device_profile (MetaColorStore *color_store, const char *edid_checksum_md5; g_autoptr (GTask) task = NULL; g_autofree char *file_name = NULL; - char *file_path; + g_autofree char *file_path = NULL; EnsureDeviceProfileData *data; MetaColorProfile *color_profile;