Use g_clear_pointer() to free tag lists.