crosstabs: Fix free of bad pointer and use-after-free error in cleanup.
authorBen Pfaff <blp@gnu.org>
Mon, 22 Jun 2009 04:11:25 +0000 (21:11 -0700)
committerBen Pfaff <blp@gnu.org>
Mon, 22 Jun 2009 04:11:25 +0000 (21:11 -0700)
In free_proc, 'pt' points within an array that is dynamically
allocated, not to a data structure that is dynamically allocated, so
we must not try to free it on each iteration.  Instead, free the
dynamic array itself (proc->pivots) only once.


No differences found