[gnome-photos] application: Plug a memory leak



commit 6bb96665334a955ca2dd56a1dbf9778e1e7f022b
Author: Debarshi Ray <debarshir gnome org>
Date:   Tue Dec 22 20:14:40 2015 +0100

    application: Plug a memory leak

 src/photos-application.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-application.c b/src/photos-application.c
index 693a306..f6077c5 100644
--- a/src/photos-application.c
+++ b/src/photos-application.c
@@ -911,6 +911,7 @@ photos_application_save (PhotosApplication *self)
   if (now != NULL)
     g_date_time_unref (now);
 
+  g_free (extension);
   g_free (filename);
   g_free (origin);
   g_free (parent_path);


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