[gnome-photos/gnome-3-20] overview-searchbar: Don't leak the tags
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/gnome-3-20] overview-searchbar: Don't leak the tags
- Date: Tue, 19 Apr 2016 13:41:32 +0000 (UTC)
commit ad0cf23eb095a93cacd6fe447ae9613ae832035b
Author: Timm Bäder <mail baedert org>
Date: Sun Apr 17 12:25:29 2016 +0200
overview-searchbar: Don't leak the tags
src/photos-overview-searchbar.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-overview-searchbar.c b/src/photos-overview-searchbar.c
index 4ca8221..5cada02 100644
--- a/src/photos-overview-searchbar.c
+++ b/src/photos-overview-searchbar.c
@@ -280,7 +280,10 @@ photos_overview_searchbar_dispose (GObject *object)
PhotosOverviewSearchbar *self = PHOTOS_OVERVIEW_SEARCHBAR (object);
g_clear_object (&self->src_mngr);
+ g_clear_object (&self->src_tag);
+ g_clear_object (&self->srch_typ_tag);
g_clear_object (&self->srch_mtch_mngr);
+ g_clear_object (&self->srch_mtch_tag);
g_clear_object (&self->srch_typ_mngr);
g_clear_object (&self->srch_cntrlr);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]