+Sun Oct 8 09:45:40 WST 2006 John Darrington <john@darrington.wattle.id.au>
+
+ * rank.q: Plugged a small memory leak which occurred under error
+ conditions.
+
Sat Oct 7 11:06:01 WST 2006 John Darrington <john@darrington.wattle.id.au>
* rank.q: Implemented most of the RANK command.
/* Obtain active file in CF. */
if (!procedure (NULL, NULL))
- return false;
+ goto error;
+
cf = proc_capture_output ();
/* Sort CF into SORTED_CF. */
proc_set_source (storage_source_create (out));
}
- free (criteria.crits);
+ free (criteria.crits);
return result ;
+
+error:
+ free (criteria.crits);
+ return false ;
}
/* Hardly a rank function !! */
+Sun Oct 8 07:09:34 WST 2006 John Darrington <john@darrington.wattle.id.au>
+
+ * table.c (tab_destroy): Freed title, since this is not allocated
+ from the pool.
+
+ * html.c (html_open_driver): Freed chart_file_name.
+
Wed Jul 12 21:03:37 2006 Ben Pfaff <blp@gnu.org>
* table.c (tab_natural_width): Get rid of warning on empty column,
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;
}
tab_destroy (struct tab_table *t)
{
assert (t != NULL);
+ free (t->title);
pool_destroy (t->container);
}