[gnome-photos] base-model: Plug memory leak
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] base-model: Plug memory leak
- Date: Tue, 19 Apr 2016 13:28:20 +0000 (UTC)
commit 6920db640db45992fa19d28144e0894a643a228e
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 5b9a87f..8517a1f 100644
--- a/src/photos-base-model.c
+++ b/src/photos-base-model.c
@@ -116,6 +116,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]