summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-18 10:51:36 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-18 10:51:36 +0000
commit4d6d17026a33489d72f459351f694a2e53167c38 (patch)
tree09ab94e7139d320469091e99cd33d1783f42e633 /webkit/tools/test_shell
parentb137c438bac2d659e20b47d26f44ccb5b4ecd46c (diff)
downloadchromium_src-4d6d17026a33489d72f459351f694a2e53167c38.zip
chromium_src-4d6d17026a33489d72f459351f694a2e53167c38.tar.gz
chromium_src-4d6d17026a33489d72f459351f694a2e53167c38.tar.bz2
Shut down fontconfig in test_shell to lower the amount of memory leaked in
fontconfig. The remaining leaks are due to static variables in pango holding references to fontconfig data structures. These should go away for a more up to date version of pango. BUG=9245 TEST=Run test_shell using valgrind. Memory leaks related to fontconfig should drop from around 138079 bytes to around 24573 bytes Patch by Jochen Eisinger <eisinger@google.com>. Review URL: http://codereview.chromium.org/507038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34945 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell')
-rw-r--r--webkit/tools/test_shell/test_shell_gtk.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/test_shell_gtk.cc b/webkit/tools/test_shell/test_shell_gtk.cc
index 52b9362..e4a2c34 100644
--- a/webkit/tools/test_shell/test_shell_gtk.cc
+++ b/webkit/tools/test_shell/test_shell_gtk.cc
@@ -314,6 +314,7 @@ void TestShell::PlatformCleanUp() {
reinterpret_cast<gpointer>(MainWindowDestroyed), this);
gtk_widget_destroy(GTK_WIDGET(m_mainWnd));
}
+ FcFini();
}
bool TestShell::Initialize(const GURL& starting_url) {