From d8da2a3087abc67aee3dc4c281d2e3c1a38d9b66 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Mon, 27 Apr 2015 09:21:19 +0200 Subject: [PATCH] Revert "CComponentsItem: fix remove gradient buffer on killed item" This reverts commit 51aab307c308d2c9b330ce8a3dfa122d6946d545. --- src/gui/components/cc_item.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/gui/components/cc_item.cpp b/src/gui/components/cc_item.cpp index f27efe142..f89406d03 100644 --- a/src/gui/components/cc_item.cpp +++ b/src/gui/components/cc_item.cpp @@ -168,10 +168,6 @@ void CComponentsItem::kill(const fb_pixel_t& bg_color, bool ignore_parent) void CComponentsItem::syncSysColors() { col_body = COL_MENUCONTENT_PLUS_0; - if (cc_body_gradientBuf){ - free(cc_body_gradientBuf); - cc_body_gradientBuf = NULL; - } col_shadow = COL_MENUCONTENTDARK_PLUS_0; col_frame = COL_MENUCONTENT_PLUS_6; }