[telepathy-mission-control/master] Don't leak check_parameters_get_param_cb closure on error
Simon McVittie
simon.mcvittie at collabora.co.uk
Thu Sep 17 10:40:12 PDT 2009
---
src/mcd-account.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/mcd-account.c b/src/mcd-account.c
index 9b945fc..5f08930 100644
--- a/src/mcd-account.c
+++ b/src/mcd-account.c
@@ -2137,6 +2137,7 @@ check_parameters_get_param_cb (McdAccount *account, const GValue *value,
if ((account != NULL && value == NULL) || error != NULL)
{
data->callback (data->account, FALSE, data->user_data);
+ g_slice_free (CheckParameterData, data);
}
else
{
--
1.5.6.5
More information about the telepathy-commits
mailing list