diff options
author | Tomas Popela <tpopela@redhat.com> | 2014-08-07 17:20:03 +0800 |
---|---|---|
committer | Tomas Popela <tpopela@redhat.com> | 2014-08-07 17:20:03 +0800 |
commit | a0b11ce4ac8602a77e51c64d904ee9314bc9d10b (patch) | |
tree | 2f8b49325eed859aa8a14c2f5bdb1970a326a0b4 /plugins | |
parent | ba8b45931956123e1621a669aee661e21c3287c0 (diff) | |
download | gsoc2013-evolution-a0b11ce4ac8602a77e51c64d904ee9314bc9d10b.tar gsoc2013-evolution-a0b11ce4ac8602a77e51c64d904ee9314bc9d10b.tar.gz gsoc2013-evolution-a0b11ce4ac8602a77e51c64d904ee9314bc9d10b.tar.bz2 gsoc2013-evolution-a0b11ce4ac8602a77e51c64d904ee9314bc9d10b.tar.lz gsoc2013-evolution-a0b11ce4ac8602a77e51c64d904ee9314bc9d10b.tar.xz gsoc2013-evolution-a0b11ce4ac8602a77e51c64d904ee9314bc9d10b.tar.zst gsoc2013-evolution-a0b11ce4ac8602a77e51c64d904ee9314bc9d10b.zip |
Reduce the memory used by DOM variables
Free some of the DOM variables when they are not needed, before they are
automatically freed when the frame is destroyed
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/external-editor/external-editor.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/external-editor/external-editor.c b/plugins/external-editor/external-editor.c index 2eb00b6e87..9ada39f0be 100644 --- a/plugins/external-editor/external-editor.c +++ b/plugins/external-editor/external-editor.c @@ -294,6 +294,7 @@ get_caret_position (EHTMLEditorView *view) } } + g_object_unref (nodes); return webkit_dom_range_get_start_offset (range, NULL) + range_count; } |