[empathy] Prevent segv attempting to free uninitialised value.



commit b5f65eef4dc95e0b8ba141c00a4e731e97c893cc
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 7db6b7a..41f6637 100644
--- a/libempathy/empathy-account-settings.c
+++ b/libempathy/empathy-account-settings.c
@@ -1422,7 +1422,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]