projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
67adf64
)
crosstabs: Fix free of bad pointer and use-after-free error in cleanup.
author
Ben Pfaff
<blp@gnu.org>
Mon, 22 Jun 2009 04:11:25 +0000
(21:11 -0700)
committer
Ben 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