[Xfce4-commits] [apps/xfdashboard] 01/01: Fix memory leak (free GKeyFile if loading from file fails)
    noreply at xfce.org 
    noreply at xfce.org
       
    Tue Jan  5 13:08:03 CET 2016
    
    
  
This is an automated email from the git hooks/post-receive script.
nomad pushed a commit to branch master
in repository apps/xfdashboard.
commit 5845ef436497ace005dc8a78cc34bd1ac2666f56
Author: Stephan Haller <nomad at froevel.de>
Date:   Tue Jan 5 13:06:37 2016 +0100
    Fix memory leak (free GKeyFile if loading from file fails)
---
 xfdashboard/theme.c |    1 +
 1 file changed, 1 insertion(+)
diff --git a/xfdashboard/theme.c b/xfdashboard/theme.c
index 55786ae..7ac2d17 100644
--- a/xfdashboard/theme.c
+++ b/xfdashboard/theme.c
@@ -170,6 +170,7 @@ static gboolean _xfdashboard_theme_load_resources(XfdashboardTheme *self,
 		_xfdashboard_theme_clean(self);
 
 		if(themeFile) g_free(themeFile);
+		if(themeKeyFile) g_key_file_free(themeKeyFile);
 
 		/* Return FALSE to indicate error */
 		return(FALSE);
-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
    
    
More information about the Xfce4-commits
mailing list