[glib: 18/19] GWin32AppInfo: fix a leak




commit c816d074c38f0fb495e4a27144ce79746d0ceeeb
Author: Руслан Ижбулатов <lrn1986 gmail com>
Date:   Thu Dec 17 17:01:44 2020 +0000

    GWin32AppInfo: fix a leak

 gio/gwin32appinfo.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gio/gwin32appinfo.c b/gio/gwin32appinfo.c
index e77db37f4..b12f9e092 100644
--- a/gio/gwin32appinfo.c
+++ b/gio/gwin32appinfo.c
@@ -2297,6 +2297,7 @@ read_capable_app (const gunichar2 *app_key_path,
       g_clear_pointer (&canonical_name_u8, g_free);
       g_clear_pointer (&canonical_name_folded, g_free);
       g_clear_object (&appkey);
+      g_clear_object (&capabilities);
       g_clear_pointer (&app_key_path_u8, g_free);
       g_clear_pointer (&app_key_path_u8_folded, g_free);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]