[gnome-photos] header-bar: Plug memory leak
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] header-bar: Plug memory leak
- Date: Fri, 1 Apr 2016 22:28:06 +0000 (UTC)
commit 8fd444be12126834d8c26cc9448ff5bf2988e159
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 6f2d2fb..a03d8c8 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]