mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 15:02:56 +02:00
fontrenderer.cpp: stuff allocated with strdup must be free()'d, not deleted
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@107 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -191,9 +191,9 @@ const char *FBFontRenderClass::AddFont(const char * const filename, const bool m
|
||||
|
||||
FBFontRenderClass::fontListEntry::~fontListEntry()
|
||||
{
|
||||
delete[] filename;
|
||||
delete[] family;
|
||||
delete[] style;
|
||||
free(filename);
|
||||
free(family);
|
||||
free(style);
|
||||
}
|
||||
|
||||
Font *FBFontRenderClass::getFont(const char * const family, const char * const style, int size)
|
||||
|
Reference in New Issue
Block a user