src/filemanager/mountlist.c: use GLib functions to allocate/free memory.