[Github-comments] [geany/geany-plugins] New plugin 'workbench': initial commit. (Follow-up/clean PR) (#601)

LarsGit223 notifications at xxxxx
Wed Sep 20 15:39:32 UTC 2017


LarsGit223 commented on this pull request.



> +}
+
+
+/* Create a branch for a folder */
+static void sidebar_create_branch(gint level, const gchar *abs_base_dir, GSList *leaf_list, GtkTreeIter *parent)
+{
+	GSList *dir_list = NULL;
+	GSList *file_list = NULL;
+	GSList *elem;
+	gchar **path_arr;
+
+	foreach_slist (elem, leaf_list)
+	{
+		if (elem->data == NULL)
+		{
+			continue;

If I remeber right, yes. There was an error sceanario where I had a crash if NULL was not catched. I think it happened if a branch is empty because of not matching file patterns.

-- 
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/601#discussion_r140008434
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170920/3d2d6d6a/attachment.html>


More information about the Github-comments mailing list