[totem] grilo: Fix memleak when destroying search entry



commit dd1b4e9e2ab4b2d759f33aab70c00a18fffe3bf8
Author: Bastien Nocera <hadess hadess net>
Date:   Fri May 3 12:22:44 2013 +0200

    grilo: Fix memleak when destroying search entry

 src/plugins/grilo/totem-search-entry.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/grilo/totem-search-entry.c b/src/plugins/grilo/totem-search-entry.c
index faa83e3..b737b22 100644
--- a/src/plugins/grilo/totem-search-entry.c
+++ b/src/plugins/grilo/totem-search-entry.c
@@ -51,7 +51,7 @@ totem_search_entry_finalize (GObject *obj)
 {
        TotemSearchEntry *self = TOTEM_SEARCH_ENTRY (obj);
 
-       /* FIXME */
+       g_clear_pointer (&self->priv->group, g_slist_free);
 
        G_OBJECT_CLASS (totem_search_entry_parent_class)->finalize (obj);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]