__get_string_array_from_gptr_array(gp_array);
}
g_ptr_array_free(gp_array, TRUE);
- if (char_iter)
- g_variant_iter_free(char_iter);
+ g_variant_iter_free(char_iter);
} else if (!g_strcmp0(key, "Characteristics")) {
g_variant_get(value, "ao", &char_iter);
gp_array = g_ptr_array_new();
}
BT_DBG("Characteristics count : %d",service->char_handle.count);
g_ptr_array_free(gp_array, TRUE);
- if (char_iter)
- g_variant_iter_free(char_iter);
+ g_variant_iter_free(char_iter);
}
}