[empathy/gnome-2-34] Prevent segv attempting to free uninitialised value.



commit ad321c79756677c09b3fee13274c59dbaa27c483
Author: Danielle Madeley <danielle madeley collabora co uk>
Date:   Mon Feb 21 13:59:37 2011 +0100

    Prevent segv attempting to free uninitialised value.

 libempathy/empathy-account-settings.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libempathy/empathy-account-settings.c b/libempathy/empathy-account-settings.c
index e306181..052a073 100644
--- a/libempathy/empathy-account-settings.c
+++ b/libempathy/empathy-account-settings.c
@@ -1363,7 +1363,7 @@ empathy_account_settings_account_updated (GObject *source,
   EmpathyAccountSettingsPriv *priv = GET_PRIV (settings);
   GSimpleAsyncResult *r;
   GError *error = NULL;
-  GStrv reconnect_required;
+  GStrv reconnect_required = NULL;
 
   if (!tp_account_update_parameters_finish (TP_ACCOUNT (source),
           result, &reconnect_required, &error))



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