# HG changeset patch # User Sadrul Habib Chowdhury # Date 1255025526 0 # Node ID 372f6b7b7f040d7abea8f12c63fd8a4a586b4590 # Parent 6b328370cad0fe9f7e67f8eaf2b76ff3e9a34d80 Fix a possible leak. diff -r 6b328370cad0 -r 372f6b7b7f04 libpurple/account.c --- 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);