Fixed missed g_free (patch by Daniel Carl <danielcarl@gmx.de>)