Eli Zaretskii writes: > Btw, after making this change, I see a lot of error messages from Glib > (called by librsvg), like this: > > (emacs.exe:1624): GLib-CRITICAL **: g_error_free: assertion 'error > != NULL' failed How about using g_clear_error to avoid this kind of g_error_free usage? The function has been there since glib 2.0, so there shouldn't be a compatibility issue. gtkutil.c has similar code reusing GError variable, which could be simplified as well. Regards, -- Daiki Ueno