[evolution] Bug 743550 - Invalid free in e_html_editor_view_add_inline_image_from_element()



commit 94043bbaa7daac8a23eb1f94efa6d4ddc3734709
Author: Milan Crha <mcrha redhat com>
Date:   Mon Feb 2 18:52:47 2015 +0100

    Bug 743550 - Invalid free in e_html_editor_view_add_inline_image_from_element()

 e-util/e-html-editor-view.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-html-editor-view.c b/e-util/e-html-editor-view.c
index cc65941..a8dfac6 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -8391,7 +8391,7 @@ e_html_editor_view_add_inline_image_from_element (EHTMLEditorView *view,
        gchar *mime_type = NULL;
        gchar *element_src, *cid, *name;
        const gchar *base64_encoded_data;
-       guchar *base64_decoded_data;
+       guchar *base64_decoded_data = NULL;
 
        if (!WEBKIT_DOM_IS_ELEMENT (element)) {
                return NULL;


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