Skip to content

gnome-cmd-file-list.cc: initialize GList with nullptr

As written on: https://developer.gnome.org/glib/stable/glib-Doubly-Linked-Lists.html nullptr is a valid GList initializer. Also, g_list_free() tries to free memory used by a GList and return the buffer to GLib slice allocator, so GList must not be created by new operator.

For me, this works for #101 (closed) .

Closes #101 (closed)

Merge request reports