empathy r1638 - trunk/src
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r1638 - trunk/src
- Date: Fri, 17 Oct 2008 12:48:15 +0000 (UTC)
Author: xclaesse
Date: Fri Oct 17 12:48:14 2008
New Revision: 1638
URL: http://svn.gnome.org/viewvc/empathy?rev=1638&view=rev
Log:
Be more careful in import_dialog_account_data_free
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:14 2008
@@ -140,8 +140,12 @@
static void
import_dialog_account_data_free (AccountData *data)
{
- g_object_unref (data->profile);
- g_hash_table_destroy (data->settings);
+ if (data == NULL)
+ return;
+ if (data->profile != NULL)
+ g_object_unref (data->profile);
+ if (data->settings != NULL)
+ g_hash_table_destroy (data->settings);
}
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]