[empathy] uoa_migration_done: free data once we're done with it



commit 2db1f1f4e345c20b92c3914551cbd8c7a0f79676
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Tue Aug 28 10:50:54 2012 +0200

    uoa_migration_done: free data once we're done with it

 src/empathy-sanity-cleaning.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-sanity-cleaning.c b/src/empathy-sanity-cleaning.c
index 326b646..4b557d4 100644
--- a/src/empathy-sanity-cleaning.c
+++ b/src/empathy-sanity-cleaning.c
@@ -287,6 +287,8 @@ uoa_migration_done (UoaMigrationData *data)
 {
   tp_account_remove_async (data->old_account, NULL, NULL);
   tp_account_set_enabled_async (data->new_account, data->enabled, NULL, NULL);
+
+  uoa_migration_data_free (data);
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]