diff options
author | jmarshallnz <jmarshallnz@svn> | 2010-03-26 09:43:45 +0000 |
---|---|---|
committer | jmarshallnz <jmarshallnz@svn> | 2010-03-26 09:43:45 +0000 |
commit | f2230ffa32c6ef3e69e3c263b4fb295ef74f00d8 (patch) | |
tree | a55a654015915d2cf77633cc5ef55912495407b4 /guilib/GUIListItem.cpp | |
parent | adef801ce56c83e4798845db586deb743992e569 (diff) |
fixed: On change of thumbnail images wouldn't necessarily update, depending on the skin
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@28828 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib/GUIListItem.cpp')
-rw-r--r-- | guilib/GUIListItem.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/guilib/GUIListItem.cpp b/guilib/GUIListItem.cpp index da565ae86d..fac0b4b80e 100644 --- a/guilib/GUIListItem.cpp +++ b/guilib/GUIListItem.cpp @@ -259,15 +259,17 @@ void CGUIListItem::FreeIcons() SetInvalid(); } -void CGUIListItem::FreeMemory() +void CGUIListItem::FreeMemory(bool immediately) { if (m_layout) { + m_layout->FreeResources(immediately); delete m_layout; m_layout = NULL; } if (m_focusedLayout) { + m_focusedLayout->FreeResources(immediately); delete m_focusedLayout; m_focusedLayout = NULL; } |