eog r4589 - in trunk: . src



Author: friemann
Date: Fri May 30 22:06:18 2008
New Revision: 4589
URL: http://svn.gnome.org/viewvc/eog?rev=4589&view=rev

Log:
2008-05-31  Felix Riemann  <friemann svn gnome org>

	* src/eog-window.c: (eog_window_update_openwith_menu):
	Close the possible leak I created with my last commit.


Modified:
   trunk/ChangeLog
   trunk/src/eog-window.c

Modified: trunk/src/eog-window.c
==============================================================================
--- trunk/src/eog-window.c	(original)
+++ trunk/src/eog-window.c	Fri May 30 22:06:18 2008
@@ -1097,8 +1097,10 @@
               priv->actions_open_with = NULL;
         }
 
-        if (mime_type == NULL)
+        if (mime_type == NULL) {
+                g_object_unref (file_info);
                 return;
+	}
 
         apps = g_app_info_get_all_for_type (mime_type);
 



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