changeset 28712:372f6b7b7f04

Fix a possible leak.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Thu, 08 Oct 2009 18:12:06 +0000
parents 6b328370cad0
children 33856dfb5cbf
files libpurple/account.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/account.c	Thu Oct 08 18:10:48 2009 +0000
+++ b/libpurple/account.c	Thu Oct 08 18:12:06 2009 +0000
@@ -1052,6 +1052,7 @@
 
 	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);