pidgin: 27e10a3b: Fix a possible leak.

sadrul at pidgin.im sadrul at pidgin.im
Thu Oct 8 20:07:34 EDT 2009


-----------------------------------------------------------------
Revision: 27e10a3b02f6740e4b3792615cc03925c5942ddd
Ancestor: 3cdbd8e68d755d394c112d467ece3a9db97931cf
Author: sadrul at pidgin.im
Date: 2009-10-08T18:12:06
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/27e10a3b02f6740e4b3792615cc03925c5942ddd

Modified files:
        libpurple/account.c

ChangeLog: 

Fix a possible leak.

-------------- next part --------------
============================================================
--- libpurple/account.c	8fb2f5226f1ff8bd7cec07890e8a3a85cb99b2e2
+++ libpurple/account.c	49ef6b9998017c57fe14ef2effad8390f28c6e15
@@ -1052,6 +1052,7 @@ purple_account_destroy(PurpleAccount *ac
 
 	priv = PURPLE_ACCOUNT_GET_PRIVATE(account);
 	PURPLE_DBUS_UNREGISTER_POINTER(priv->current_error);
+	g_free(priv->current_error->description);
 	g_free(priv->current_error);
 	g_free(priv);
 


More information about the Commits mailing list