[totem] grilo: Fix memory leak of the mtime



commit 3c7760723bb5072c1f1aa3edd72b1765435ca331
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Jan 21 12:58:55 2014 +0100

    grilo: Fix memory leak of the mtime

 src/plugins/grilo/totem-grilo.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/grilo/totem-grilo.c b/src/plugins/grilo/totem-grilo.c
index 9a30532..f373b55 100644
--- a/src/plugins/grilo/totem-grilo.c
+++ b/src/plugins/grilo/totem-grilo.c
@@ -358,6 +358,7 @@ add_media_to_model (GtkTreeStore *model,
 
        g_clear_object (&thumbnail);
        g_free (secondary);
+       g_clear_pointer (&mtime, g_date_time_unref);
 }
 
 static void


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