Revert "CComponentsItem: fix remove gradient buffer on killed item"

This reverts commit 75deb5712c.


Origin commit data
------------------
Commit: d8da2a3087
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-04-27 (Mon, 27 Apr 2015)
This commit is contained in:
2015-04-27 09:21:19 +02:00
parent b84c69472b
commit b1bcb22dd9

View File

@@ -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;
}