[Xfce4-commits] [apps/xfdashboard] 01/20: Free property 'missing-icon-name' in XfdashboardImageContent when object instance is disposed

noreply at xfce.org noreply at xfce.org
Sat May 16 21:21:10 CEST 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 191e98e2ab8e1bb09eccd8a305600c66afb7d635
Author: Stephan Haller <nomad at froevel.de>
Date:   Sat May 16 18:42:39 2015 +0200

    Free property 'missing-icon-name' in XfdashboardImageContent when object instance is disposed
---
 xfdashboard/image-content.c |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/xfdashboard/image-content.c b/xfdashboard/image-content.c
index ff22abb..8c11582 100644
--- a/xfdashboard/image-content.c
+++ b/xfdashboard/image-content.c
@@ -1114,6 +1114,12 @@ static void _xfdashboard_image_content_dispose(GObject *inObject)
 		priv->gicon=NULL;
 	}
 
+	if(priv->missingIconName)
+	{
+		g_free(priv->missingIconName);
+		priv->missingIconName=NULL;
+	}
+
 	/* Call parent's class dispose method */
 	G_OBJECT_CLASS(xfdashboard_image_content_parent_class)->dispose(inObject);
 }

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


More information about the Xfce4-commits mailing list