[gnome-photos/wip/baedert/gtkimageview: 18/19] header-bar: Plug memory leak
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/wip/baedert/gtkimageview: 18/19] header-bar: Plug memory leak
- Date: Fri, 1 Apr 2016 16:41:42 +0000 (UTC)
commit 223308a2c063363aae6e5c17adea62d50f7b6563
Author: Timm Bäder <mail baedert org>
Date: Fri Apr 1 11:41:16 2016 +0200
header-bar: Plug memory leak
src/photos-header-bar.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-header-bar.c b/src/photos-header-bar.c
index d753121..1240493 100644
--- a/src/photos-header-bar.c
+++ b/src/photos-header-bar.c
@@ -113,6 +113,8 @@ photos_header_bar_clear (PhotosHeaderBar *self)
children = gtk_container_get_children (GTK_CONTAINER (self));
for (l = children; l != NULL; l = l->next)
gtk_widget_destroy (GTK_WIDGET (l->data));
+
+ g_list_free (children);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]