aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution/e-summary.c
diff options
context:
space:
mode:
Diffstat (limited to 'my-evolution/e-summary.c')
-rw-r--r--my-evolution/e-summary.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/my-evolution/e-summary.c b/my-evolution/e-summary.c
index 3cccc4bb7c..29ce61b28c 100644
--- a/my-evolution/e-summary.c
+++ b/my-evolution/e-summary.c
@@ -441,6 +441,7 @@ e_summary_url_requested (GtkHTML *html,
contents = e_read_file_with_length (filename, &length);
if (contents == NULL) {
+ g_free (filename);
return;
}
@@ -453,6 +454,7 @@ e_summary_url_requested (GtkHTML *html,
gtk_html_stream_write (stream, img->buffer, img->bufsize);
gtk_html_stream_close (stream, GTK_HTML_STREAM_OK);
+ g_free (filename);
}
static void