Change-Id: Icc440a64e3eb6c30cd4d4c53527ef8e0237f971c
Signed-off-by: Kartik Tidke <kr.tidke@samsung.com>
info->icon_path = icon_path;
return icon;
}
+ free(icon_path);
}
}
if (content_info->tabbar_item) _toolbar_remove_item(attach_panel->toolbar, content_info->tabbar_item);
if (content_info->content) _ui_manager_destroy_content(content_info, attach_panel);
if (page) _page_destroy(page);
+ if (content_info->icon_path) free(content_info->icon_path);
free(content_info);
return ATTACH_PANEL_ERROR_NOT_INITIALIZED;