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 /composer/e-msg-composer.c | |
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 'composer/e-msg-composer.c')
-rw-r--r-- | composer/e-msg-composer.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index d60fa9e35d..8c1748c4c3 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -3180,6 +3180,8 @@ set_signature_gui (EMsgComposer *composer) g_free (id); } + g_object_unref (nodes); + /* The combo box active ID is the signature's ESource UID. */ if (uid != NULL) { gtk_combo_box_set_active_id (GTK_COMBO_BOX (combo_box), uid); @@ -4973,6 +4975,8 @@ e_msg_composer_get_raw_message_text_without_signature (EMsgComposer *composer) g_free (text); } + g_object_unref (list); + return array; } |