[Xfce4-commits] [apps/xfdashboard] 13/20: Free theme name when disposing object instance XfdashboardApplication

noreply at xfce.org noreply at xfce.org
Sat May 16 21:21:22 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 9251869c7a6d2f3f76bfb656ea03017dacb7f68a
Author: Stephan Haller <nomad at froevel.de>
Date:   Sat May 16 19:54:46 2015 +0200

    Free theme name when disposing object instance XfdashboardApplication
---
 xfdashboard/application.c |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/xfdashboard/application.c b/xfdashboard/application.c
index 876e18e..954974b 100644
--- a/xfdashboard/application.c
+++ b/xfdashboard/application.c
@@ -599,6 +599,12 @@ static void _xfdashboard_application_dispose(GObject *inObject)
 		priv->theme=NULL;
 	}
 
+	if(priv->themeName)
+	{
+		g_free(priv->themeName);
+		priv->themeName=NULL;
+	}
+
 	if(priv->viewManager)
 	{
 		/* Unregisters all remaining registered views - no need to unregister them here */

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


More information about the Xfce4-commits mailing list