diff options
-rw-r--r-- | mail/ChangeLog | 4 | ||||
-rw-r--r-- | mail/em-format-html.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index a273aa85ab..e4d74ca498 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,7 @@ +2006-08-17 Kjartan Maraas <kmaraas@gnome.org> + + * em-format-html.c: (efh_url_requested): Plug a leak. + 2006-08-09 Srinivasa Ragavan <sragavan@novell.com> * em-folder-browser.c: (em_folder_browser_get_wide), diff --git a/mail/em-format-html.c b/mail/em-format-html.c index c2a5b16f21..ec39365552 100644 --- a/mail/em-format-html.c +++ b/mail/em-format-html.c @@ -573,6 +573,7 @@ efh_url_requested(GtkHTML *html, const char *url, GtkHTMLStream *handle, EMForma gtk_html_stream_write (handle, data, length); gtk_html_stream_close(handle, status? GTK_HTML_STREAM_OK : GTK_HTML_STREAM_ERROR); + g_free (data); } else { d(printf("HTML Includes reference to unknown uri '%s'\n", url)); gtk_html_stream_close(handle, GTK_HTML_STREAM_ERROR); |