[totem] main: Fix small memory leak



commit b4d9cedc151ee74b7c02e76a202d401d920495a6
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Feb 6 15:29:12 2014 +0100

    main: Fix small memory leak

 src/totem-grilo.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/totem-grilo.c b/src/totem-grilo.c
index 2bd4910..4b92800 100644
--- a/src/totem-grilo.c
+++ b/src/totem-grilo.c
@@ -1721,6 +1721,7 @@ search_mode_changed (GObject          *gobject,
                                id = source ? grl_source_get_id (source) : NULL;
                                g_clear_object (&source);
                        }
+                       g_clear_pointer (&path, gtk_tree_path_free);
                }
 
                if (id != NULL)


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