aboutsummaryrefslogtreecommitdiff
path: root/graphics/fonts/ttf.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2012-05-03 13:45:40 -0700
committerJohannes Schickel2012-05-03 13:45:40 -0700
commitb96143c1802b619553e476ad7a5a1eedeea0c768 (patch)
treeb810d8cb6722c5d45082f2d73b9f59e40bc58154 /graphics/fonts/ttf.cpp
parente72f51129bfd11d0c926a2e21015a57740980928 (diff)
parent29e05ec05eb85cc1402ebee2c399a4a45bcd4933 (diff)
downloadscummvm-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.cpp4
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) {