empathy r1634 - trunk/src



Author: xclaesse
Date: Fri Oct 17 12:48:01 2008
New Revision: 1634
URL: http://svn.gnome.org/viewvc/empathy?rev=1634&view=rev

Log:
Call import_dialog_account_data_free to actually free the account data after being processed. (Jonny Lamb)

Signed-off-by: Jonny Lamb <jonny lamb collabora co uk>

Modified:
   trunk/src/empathy-import-dialog.c

Modified: trunk/src/empathy-import-dialog.c
==============================================================================
--- trunk/src/empathy-import-dialog.c	(original)
+++ trunk/src/empathy-import-dialog.c	Fri Oct 17 12:48:01 2008
@@ -431,12 +431,11 @@
       COL_ACCOUNT_DATA, &data,
       -1);
 
-  if (!to_import)
-      return FALSE;
-
-  if (!import_dialog_add_account (data))
-    dialog->not_imported = TRUE;
+  if (to_import)
+    if (!import_dialog_add_account (data))
+      dialog->not_imported = TRUE;
 
+  import_dialog_account_data_free (data);
   return FALSE;
 }
 



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