mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +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
Origin commit data
------------------
Branch: ni/coolstream
Commit: c77b7f37c8
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2009-12-22 (Tue, 22 Dec 2009)
------------------
This commit was generated by Migit
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