aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format-html.c
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2006-08-17 14:46:05 +0800
committerKjartan Maraas <kmaraas@src.gnome.org>2006-08-17 14:46:05 +0800
commitfe762762dfd73d4165c5812b58b53ca342afce60 (patch)
tree7ddb4079645fd6dc5508e7a631ac9f2910abb7fe /mail/em-format-html.c
parent31215f089c87da3cad2a371169a91d7fe575e485 (diff)
downloadgsoc2013-evolution-fe762762dfd73d4165c5812b58b53ca342afce60.tar.gz
gsoc2013-evolution-fe762762dfd73d4165c5812b58b53ca342afce60.tar.zst
gsoc2013-evolution-fe762762dfd73d4165c5812b58b53ca342afce60.zip
Plug a leak.
2006-08-17 Kjartan Maraas <kmaraas@gnome.org> * em-format-html.c: (efh_url_requested): Plug a leak. svn path=/trunk/; revision=32556
Diffstat (limited to 'mail/em-format-html.c')
-rw-r--r--mail/em-format-html.c1
1 files changed, 1 insertions, 0 deletions
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);