[gnome-photos/wip/rishi/misc-fixes: 21/26] application: Plug a memory leak



commit 3f48736f19e143dbd053d4474cf8095fb0cf7f6a
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 069ee00..e0d8ae5 100644
--- a/src/photos-application.c
+++ b/src/photos-application.c
@@ -960,6 +960,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]