diff options
author | Srinivasa Ragavan <sragavan@src.gnome.org> | 2006-07-18 17:19:23 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@src.gnome.org> | 2006-07-18 17:19:23 +0800 |
commit | 9b1edd91d3d3e0071cb678841504f771550e85ba (patch) | |
tree | 786e66a23872bb747ff3f97aa29a094df7ec5f9a /composer | |
parent | e5877c20fe10d53ba8eafb75b6d7e2f3ff696df8 (diff) | |
download | gsoc2013-evolution-9b1edd91d3d3e0071cb678841504f771550e85ba.tar.gz gsoc2013-evolution-9b1edd91d3d3e0071cb678841504f771550e85ba.tar.zst gsoc2013-evolution-9b1edd91d3d3e0071cb678841504f771550e85ba.zip |
Fix for memory leak in bug #209254
svn path=/trunk/; revision=32337
Diffstat (limited to 'composer')
-rw-r--r-- | composer/ChangeLog | 7 | ||||
-rw-r--r-- | composer/e-msg-composer.c | 7 |
2 files changed, 8 insertions, 6 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog index f8100d38a2..2b80f922f5 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -1,3 +1,10 @@ +2006-07-18 Srinivasa Ragavan <sragavan@novell.com> + + ** Fix for memory leak in bug #209254 + + * e-msg-composer.c: (e_msg_composer_show_help), (init): Used constant + string for help. + 2006-07-17 Srinivasa Ragavan <sragavan@novell.com> ** Fix for bug #209254 diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index 642ec32f71..8a13f74450 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -220,9 +220,6 @@ struct _EMsgComposerPrivate { GtkWidget *saveas; /* saveas async file requester */ GtkWidget *load; /* same for load - not used */ - char *help_section; /* this is for the help label */ - - }; enum { @@ -2859,7 +2856,7 @@ e_msg_composer_show_help (EMsgComposer *composer) gnome_help_display_desktop (NULL, "evolution-" BASE_VERSION, "evolution-" BASE_VERSION ".xml", - p->help_section, + "usage-composer", &error); if (error != NULL) g_warning ("%s", error->message); @@ -3315,8 +3312,6 @@ init (EMsgComposer *composer) p->smime_sign = FALSE; p->smime_encrypt = FALSE; - p->help_section = g_strdup("usage-composer"); - p->has_changed = FALSE; p->autosaved = FALSE; |