[glib/glib-2-70: 1/2] Fix memory leak in gio/gdbusauthmechanismsha1.c




commit 554db5f8aebf1a9c70360594267fb373fe27f9a6
Author: Loic Le Page <llepage fluendo com>
Date:   Wed Jan 26 14:20:08 2022 +0100

    Fix memory leak in gio/gdbusauthmechanismsha1.c

 gio/gdbusauthmechanismsha1.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gio/gdbusauthmechanismsha1.c b/gio/gdbusauthmechanismsha1.c
index 94fe0bce8..066ef1ab7 100644
--- a/gio/gdbusauthmechanismsha1.c
+++ b/gio/gdbusauthmechanismsha1.c
@@ -908,6 +908,7 @@ keyring_generate_entry (const gchar  *cookie_context,
                                   _("(Additionally, releasing the lock for ā€œ%sā€ also failed: %s) "),
                                   path,
                                   local_error->message);
+                  g_error_free (local_error);
                 }
             }
           else


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