[evolution/wip/webkit-composer] EEditorWidget: Fix leak of element's type attribute value



commit 7362ef6e6cf93400e2f34ff7f640ecb15e3836ab
Author: Tomas Popela <tpopela redhat com>
Date:   Tue Mar 4 15:29:30 2014 +0100

    EEditorWidget: Fix leak of element's type attribute value

 e-util/e-editor-widget.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/e-util/e-editor-widget.c b/e-util/e-editor-widget.c
index c140668..04ec487 100644
--- a/e-util/e-editor-widget.c
+++ b/e-util/e-editor-widget.c
@@ -3675,6 +3675,7 @@ process_elements (EEditorWidget *widget,
                                                if (value && g_strcmp0 (value, "cite") == 0) {
                                                        g_string_append (buffer, "\n");
                                                }
+                                               g_free (value);
                                        }
                                }
                                process_blockquote (WEBKIT_DOM_ELEMENT (child));


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