[Github-comments] [geany/geany-plugins] Workbench (#598)

LarsGit223 notifications at xxxxx
Sat Aug 19 12:23:14 UTC 2017


LarsGit223 commented on this pull request.



> +
+
+/** Free a project.
+ *
+ * @param prj Adress of structure to free
+ *
+ **/
+void wb_project_free(WB_PROJECT *prj)
+{
+	GSList *elem;
+
+	/* Free directories first */
+	foreach_slist(elem, prj->directories)
+	{
+		wb_project_dir_free(elem->data);
+	}

Yes! Replaced it with ```g_slist_free_full(prj->directories, (GDestroyNotify)wb_project_dir_free);```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/598#discussion_r134090590
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170819/002314ee/attachment.html>


More information about the Github-comments mailing list