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




commit 6ec432386ef98e26e5079b060ad823277e10f41f
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 a82dddf83..8137b6352 100644
--- a/gio/gdbusauthmechanismsha1.c
+++ b/gio/gdbusauthmechanismsha1.c
@@ -909,6 +909,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]