[Xfce4-commits] [apps/xfdashboard] 01/01: Fix access after string was freed

noreply at xfce.org noreply at xfce.org
Wed Nov 25 07:18:05 CET 2015


This is an automated email from the git hooks/post-receive script.

nomad pushed a commit to branch master
in repository apps/xfdashboard.

commit 371e50063b86b5d5c21db13b0fb74e995619a377
Author: Stephan Haller <nomad at froevel.de>
Date:   Tue Nov 24 22:04:31 2015 +0100

    Fix access after string was freed
---
 xfdashboard/image-content.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/xfdashboard/image-content.c b/xfdashboard/image-content.c
index cb727e7..bce20d7 100644
--- a/xfdashboard/image-content.c
+++ b/xfdashboard/image-content.c
@@ -474,12 +474,12 @@ static void _xfdashboard_image_content_load_from_file(XfdashboardImageContent *s
 													(GAsyncReadyCallback)_xfdashboard_image_content_loading_async_callback,
 													g_object_ref(self));
 
+		g_debug("Loading icon '%s' from file %s", priv->iconName, filename);
+
 		/* Release allocated resources */
 		g_object_unref(stream);
 		g_object_unref(file);
 		g_free(filename);
-
-		g_debug("Loading icon '%s' from file %s", priv->iconName, filename);
 	}
 
 	/* Release allocated resources */

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list