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:
seife
2009-12-22 12:15:01 +00:00
parent c8e87eb023
commit c77b7f37c8

View File

@@ -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)