pidgin: fc26d302: Clean up libpurple memory allocations on...

elb at pidgin.im elb at pidgin.im
Thu Apr 9 14:10:46 EDT 2009


-----------------------------------------------------------------
Revision: fc26d302a61e3648254ec66268cae7f18fd780d1
Ancestor: aff70668336849d4b1513fd8577f4d2a276d2520
Author: hebnern at gmail.com
Date: 2009-04-09T17:59:35
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/fc26d302a61e3648254ec66268cae7f18fd780d1

Modified files:
        libpurple/win32/win32dep.c

ChangeLog: 

Clean up libpurple memory allocations on win32 libpurple uninit.

Thanks to Nick Hebner.

References #8683

-------------- next part --------------
============================================================
--- libpurple/win32/win32dep.c	c7c9205f87f2770a77aade7e4583a56d8b1ce8cc
+++ libpurple/win32/win32dep.c	a397e449182ff2aa412abd0fa54626c811e608e4
@@ -467,7 +467,14 @@ void wpurple_cleanup(void) {
 	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;
 }


More information about the Commits mailing list