[gnome-photos/gnome-3-20] base-model: Plug memory leak
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/gnome-3-20] base-model: Plug memory leak
- Date: Tue, 19 Apr 2016 13:41:27 +0000 (UTC)
commit de862d9b8a1b3a66558928775bc81cd9838fc72d
Author: Timm Bäder <mail baedert org>
Date: Sat Apr 16 14:20:15 2016 +0200
base-model: Plug memory leak
Fall out from c8d6651218c1419c776e2b9d00e1203d3f46787f
src/photos-base-model.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-base-model.c b/src/photos-base-model.c
index 76fbe98..cf52637 100644
--- a/src/photos-base-model.c
+++ b/src/photos-base-model.c
@@ -112,6 +112,7 @@ photos_base_model_refresh (PhotosBaseModel *self)
g_menu_append_item (section, menu_item);
g_free (name);
+ g_object_unref (menu_item);
}
g_object_unref (section);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]