mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
pictureviewer: free formathandlers in destructor
This commit is contained in:
@@ -448,6 +448,12 @@ void CPictureViewer::Cleanup ()
|
|||||||
free (m_CurrentPic_Buffer);
|
free (m_CurrentPic_Buffer);
|
||||||
m_CurrentPic_Buffer = NULL;
|
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)
|
void CPictureViewer::getSize(const char* name, int* width, int *height)
|
||||||
|
Reference in New Issue
Block a user