From 6719c19e15afd7e17119d4ef47ca3a9c1956bcba Mon Sep 17 00:00:00 2001 From: gnorton Date: Sun, 16 May 2010 01:15:03 +0000 Subject: [PATCH] 2010-05-15 Geoff Norton * mono-debug.c: Fix a leak of the global table on shutdown. git-svn-id: svn+ssh://mono-cvs.ximian.com/source/trunk/mono@157389 e3ebcda4-bce8-0310-ba0a-eca2169e7518 --- mono/metadata/ChangeLog | 4 ++++ mono/metadata/mono-debug.c | 3 +++ 2 files changed, 7 insertions(+) diff --git a/mono/metadata/ChangeLog b/mono/metadata/ChangeLog index 8c5dbfc26..673e73c7b 100644 --- a/mono/metadata/ChangeLog +++ b/mono/metadata/ChangeLog @@ -1,5 +1,9 @@ 2010-05-15 Geoff Norton + * mono-debug.c: Fix a leak of the global table on shutdown. + +2010-05-15 Geoff Norton + * debug-mono-symfile.(c|h): Add mono_debug_symfile_free_location to clean up MonoDebugSourceLocation's. diff --git a/mono/metadata/mono-debug.c b/mono/metadata/mono-debug.c index a1767f010..785e68e55 100644 --- a/mono/metadata/mono-debug.c +++ b/mono/metadata/mono-debug.c @@ -291,6 +291,9 @@ mono_debug_cleanup (void) data_table_hash = NULL; } + if (mono_symbol_table->global_data_table) + free_data_table (mono_symbol_table->global_data_table); + g_free (mono_symbol_table); mono_symbol_table = NULL; } -- 2.11.4.GIT