Mercurial > pidgin
diff libpurple/core.c @ 21248:5915ad785ee7
Add and call a purple_util_uninit() to free user_dir and customer_home_dir
at shutdown. Fixes #3132
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Mon, 15 Oct 2007 00:41:22 +0000 |
parents | 6bf32c9e15a7 |
children | 6de09629f091 0aa18e21a595 |
line wrap: on
line diff
--- a/libpurple/core.c Mon Oct 15 00:40:33 2007 +0000 +++ b/libpurple/core.c Mon Oct 15 00:41:22 2007 +0000 @@ -94,6 +94,8 @@ /* The signals subsystem is important and should be first. */ purple_signals_init(); + purple_util_init(); + purple_signal_register(core, "uri-handler", purple_marshal_BOOLEAN__POINTER_POINTER_POINTER, purple_value_new(PURPLE_TYPE_BOOLEAN), 3, @@ -229,6 +231,9 @@ #ifdef HAVE_DBUS purple_dbus_uninit(); #endif + + purple_util_uninit(); + purple_signals_uninit(); g_free(core->ui);