X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Foutput%2Fhtml.c;h=72ca57d9227a5757ed18c06893f840afa72762af;hb=5beffdda43634370653661d5a0f5e3c75aa28747;hp=021200bc9749125437631b9b07fd6ee095c86825;hpb=1255b66223eac8ff1b0abf138ead22fd801c6633;p=pspp diff --git a/src/output/html.c b/src/output/html.c index 021200bc97..72ca57d922 100644 --- a/src/output/html.c +++ b/src/output/html.c @@ -87,10 +87,12 @@ html_open_driver (struct outp_driver *this, struct substring options) fputs (" LINK=\"#1f00ff\" ALINK=\"#ff0000\" VLINK=\"#9900dd\">\n", x->file); print_title_tag (x->file, "H1", outp_title); print_title_tag (x->file, "H2", outp_subtitle); + free (x->chart_file_name); return true; error: + free (x->chart_file_name); this->class->close_driver (this); return false; }