[evolution-ews] Bug #705118 - Double-free in ews_oof_settings_get_response_cb()



commit 6a9e6d9876d073c5c55ed810632a5d45ed19469e
Author: Fabiano Fidêncio <fidencio redhat com>
Date:   Tue Jul 30 16:39:16 2013 +0200

    Bug #705118 - Double-free in ews_oof_settings_get_response_cb()

 src/server/e-ews-oof-settings.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/server/e-ews-oof-settings.c b/src/server/e-ews-oof-settings.c
index b717658..0dd97e5 100644
--- a/src/server/e-ews-oof-settings.c
+++ b/src/server/e-ews-oof-settings.c
@@ -105,8 +105,6 @@ ews_oof_settings_text_from_html (gchar *html_text)
        gchar *start, *end;
        gchar *ii, *jj;
 
-       /* Note, this consumes the input string. */
-
        g_return_val_if_fail (html_text != NULL, NULL);
 
        haystack_len = strlen (html_text);
@@ -131,8 +129,6 @@ ews_oof_settings_text_from_html (gchar *html_text)
        }
        *jj = '\0';
 
-       g_free (html_text);
-
        return plain_text;
 }
 


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