mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 07:23:09 +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()
|
FBFontRenderClass::fontListEntry::~fontListEntry()
|
||||||
{
|
{
|
||||||
delete[] filename;
|
free(filename);
|
||||||
delete[] family;
|
free(family);
|
||||||
delete[] style;
|
free(style);
|
||||||
}
|
}
|
||||||
|
|
||||||
Font *FBFontRenderClass::getFont(const char * const family, const char * const style, int size)
|
Font *FBFontRenderClass::getFont(const char * const family, const char * const style, int size)
|
||||||
|
Reference in New Issue
Block a user