[Xfce4-commits] [apps/xfdashboard] 05/20: Release allocated resources at fill data structure of object XfdashboardApplicationsMenuModel

noreply at xfce.org noreply at xfce.org
Sat May 16 21:21:14 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 d13df5ad1e264cae2b5d01b5e980c6744633bbc8
Author: Stephan Haller <nomad at froevel.de>
Date:   Sat May 16 19:26:15 2015 +0200

    Release allocated resources at fill data structure of object XfdashboardApplicationsMenuModel
---
 xfdashboard/applications-menu-model.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/xfdashboard/applications-menu-model.c b/xfdashboard/applications-menu-model.c
index 080be53..582bfc0 100644
--- a/xfdashboard/applications-menu-model.c
+++ b/xfdashboard/applications-menu-model.c
@@ -532,6 +532,9 @@ static void _xfdashboard_applications_menu_model_fill_model(XfdashboardApplicati
 
 	/* Emit signal */
 	g_signal_emit(self, XfdashboardApplicationsMenuModelSignals[SIGNAL_LOADED], 0);
+
+	/* Release allocated resources at fill data structure */
+	if(fillData.populatedMenu) g_slist_free(fillData.populatedMenus);
 }
 
 /* Idle callback to fill model */

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


More information about the Xfce4-commits mailing list