[Xfce4-commits] [apps/xfdashboard] 16/31: Release allocated resources at fill data structure of object XfdashboardApplicationsMenuModel
noreply at xfce.org
noreply at xfce.org
Thu Jun 11 19:57:11 CEST 2015
This is an automated email from the git hooks/post-receive script.
nomad pushed a commit to annotated tag 0.4.1
in repository apps/xfdashboard.
commit 18e43f24f33905736dd2b7e5d6bf505265d75921
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