Fix big leak on mimeinfo freeing