Change-Id: If4f86501966d5c2eab3084e1a005b817125a2149
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
ret = widget_service_get_supported_sizes("org.tizen.gallery.widget", &cnt, &w, &h);
ASSERT_EQ(ret, WIDGET_ERROR_NONE);
+ free(w);
+ free(h);
}
TEST_F(WidgetServiceTest, GetSupportedSizeTypes) {
ret = widget_service_get_supported_size_types("org.tizen.gallery.widget", &cnt, &types);
ASSERT_EQ(ret, WIDGET_ERROR_NONE);
+ free(types);
}
static int _widget_instance_list_cb(const char *widget_id, const char *instance_id, void *user_data) {