no-glib: Remove as much g_free as I can.

The others might require some additional code to remove.