[gtk/matthiasc/for-master] bookmarklist: Don't leak uris
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master] bookmarklist: Don't leak uris
- Date: Wed, 8 Jul 2020 21:45:40 +0000 (UTC)
commit 0546e264341abb1b93e38c28b716ff99bc802cae
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Jul 8 16:42:01 2020 -0400
bookmarklist: Don't leak uris
This leak showed up in multiple places while
running the testsuite under asan.
gtk/gtkbookmarklist.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/gtk/gtkbookmarklist.c b/gtk/gtkbookmarklist.c
index 5f81147933..537389e316 100644
--- a/gtk/gtkbookmarklist.c
+++ b/gtk/gtkbookmarklist.c
@@ -369,6 +369,8 @@ gtk_bookmark_list_start_loading (GtkBookmarkList *self)
self);
g_object_unref (file);
}
+
+ g_strfreev (uris);
}
else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]