mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
pictureviewer: free formathandlers in destructor
Origin commit data
------------------
Commit: 4f31b4e779
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-04-14 (Sun, 14 Apr 2013)
This commit is contained in:
committed by
[CST] Focus
parent
e7fdd46316
commit
766356ec59
@@ -446,6 +446,12 @@ void CPictureViewer::Cleanup ()
|
||||
free (m_CurrentPic_Buffer);
|
||||
m_CurrentPic_Buffer = NULL;
|
||||
}
|
||||
CFormathandler *fh = fh_root;
|
||||
while (fh) {
|
||||
CFormathandler *tmp = fh->next;
|
||||
free(fh);
|
||||
fh = tmp;
|
||||
}
|
||||
}
|
||||
|
||||
void CPictureViewer::getSize(const char* name, int* width, int *height)
|
||||
|
Reference in New Issue
Block a user