aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/report.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/report.c b/shell/report.c
index 241bca67..0259799e 100644
--- a/shell/report.c
+++ b/shell/report.c
@@ -615,6 +615,7 @@ static gboolean report_generate(ReportDialog * rd)
if (!create_context) {
g_warning(_("Cannot create ReportContext. Programming bug?"));
g_free(file);
+ fclose(stream);
return FALSE;
}