diff options
author | Johannes Schickel | 2012-05-03 13:45:40 -0700 |
---|---|---|
committer | Johannes Schickel | 2012-05-03 13:45:40 -0700 |
commit | b96143c1802b619553e476ad7a5a1eedeea0c768 (patch) | |
tree | b810d8cb6722c5d45082f2d73b9f59e40bc58154 /graphics/fonts/ttf.cpp | |
parent | e72f51129bfd11d0c926a2e21015a57740980928 (diff) | |
parent | 29e05ec05eb85cc1402ebee2c399a4a45bcd4933 (diff) | |
download | scummvm-rg350-b96143c1802b619553e476ad7a5a1eedeea0c768.tar.gz scummvm-rg350-b96143c1802b619553e476ad7a5a1eedeea0c768.tar.bz2 scummvm-rg350-b96143c1802b619553e476ad7a5a1eedeea0c768.zip |
Merge pull request #213 from fuzzie/leak-fixes
The pull request in question is "Memory leak fixes".
Diffstat (limited to 'graphics/fonts/ttf.cpp')
-rw-r--r-- | graphics/fonts/ttf.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/fonts/ttf.cpp b/graphics/fonts/ttf.cpp index 7505f7913e..7f5c616710 100644 --- a/graphics/fonts/ttf.cpp +++ b/graphics/fonts/ttf.cpp @@ -70,6 +70,10 @@ private: bool _initialized; }; +void shutdownTTF() { + TTFLibrary::destroy(); +} + #define g_ttf ::Graphics::TTFLibrary::instance() TTFLibrary::TTFLibrary() : _library(), _initialized(false) { |