remove not-used attribute (name of icon, name of image) 10/59510/2 accepted/tizen/ivi/20160218.083922 accepted/tizen/mobile/20160218.005902 accepted/tizen/tv/20160218.005915 accepted/tizen/wearable/20160218.005935 submit/tizen/20160217.221050 submit/tizen_common/20160218.142243
authorjongmyeongko <jongmyeong.ko@samsung.com>
Tue, 16 Feb 2016 07:06:48 +0000 (16:06 +0900)
committerjongmyeong ko <jongmyeong.ko@samsung.com>
Wed, 17 Feb 2016 04:27:47 +0000 (20:27 -0800)
Requires:
https://review.tizen.org/gerrit/#/c/59508/

Change-Id: I0cc0afc947fc66802e3ed9f87abd0fc4d715cd41
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
src/tpk/step/step_tpk_patch_icons.cc

index b62d46253a30ab093236410f87a7fbf1f1b904e7..fd5a540665227e28381c87ab43b8f6786e9d9ee3 100644 (file)
@@ -107,7 +107,6 @@ common_installer::Step::Status StepTpkPatchIcons::process() {
             // remove it. Removing whole list as no valid copy made of any icon.
             g_list_free_full(app->icon, [](gpointer data) {
                   icon_x* icon = reinterpret_cast<icon_x*>(data);
-                  free(const_cast<char*>(icon->name));
                   free(const_cast<char*>(icon->text));
                   free(const_cast<char*>(icon->lang));
                   free(const_cast<char*>(icon->section));