[evolution-ews/gnome-3-8] Fix another leak in error path of oal_response_cb() (cherry picked from commit 3197d17921389b52ca3c0



commit ee74deb3229c918ed7e15c5faccee63a13573e34
Author: David Woodhouse <David Woodhouse intel com>
Date:   Mon Jun 10 23:40:56 2013 +0100

    Fix another leak in error path of oal_response_cb()
    (cherry picked from commit 3197d17921389b52ca3c079864884e201d7ab0ca)

 src/server/e-ews-connection.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/server/e-ews-connection.c b/src/server/e-ews-connection.c
index f8811fb..8060c82 100644
--- a/src/server/e-ews-connection.c
+++ b/src/server/e-ews-connection.c
@@ -2485,7 +2485,7 @@ oal_response_cb (SoupSession *soup_session,
                g_simple_async_result_set_error (
                        simple, EWS_CONNECTION_ERROR, -1,
                        "%s", _("Failed to find <OAB> element\n"));
-               goto exit;
+               goto exit_doc;
        }
 
        for (node = node->children; node; node = node->next) {


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