changeset 26605:6a3943412f2d

Clean up libpurple memory allocations on win32 libpurple uninit. Thanks to Nick Hebner. References #8683 committer: Ethan Blanton <elb@pidgin.im>
author Nick Hebner <hebnern@gmail.com>
date Thu, 09 Apr 2009 17:59:35 +0000
parents dc05a7128d88
children df9042312063
files libpurple/win32/win32dep.c
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/win32/win32dep.c	Thu Apr 09 17:38:45 2009 +0000
+++ b/libpurple/win32/win32dep.c	Thu Apr 09 17:59:35 2009 +0000
@@ -467,7 +467,14 @@
 	WSACleanup();
 
 	g_free(app_data_dir);
+	g_free(install_dir);
+	g_free(lib_dir);
+	g_free(locale_dir);
+
 	app_data_dir = NULL;
+	install_dir = NULL;
+	lib_dir = NULL;
+	locale_dir = NULL;
 
 	libpurpledll_hInstance = NULL;
 }