[EHTMLEditorView] Fix two memory leaks