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

Reply via email to