[gnome-photos/wip/baedert/gtkimageview] base-model: Plug memory leak
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/wip/baedert/gtkimageview] base-model: Plug memory leak
- Date: Sat, 16 Apr 2016 12:20:59 +0000 (UTC)
commit 6dc7142b5a611b8c606ff9422f23151f25620519
Author: Timm Bäder <mail baedert org>
Date: Sat Apr 16 14:20:15 2016 +0200
base-model: Plug memory leak
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]