Minor fixes
-
graphics: Make more use of g_autoptr
-
graphics: Don't leak array of directory members
-
resolve-in-sysroot: Don't return real path if not readable
The GLib convention is that "out" parameters are untouched on error, and PV_RESOLVE_FLAGS_READABLE makes it an error for the file to be unreadable.
/cc @denittis