projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57847b8
)
Fix memory leak in tab_destroy
author
John Darrington
<john@darrington.wattle.id.au>
Sun, 4 Jul 2010 12:50:16 +0000
(14:50 +0200)
committer
John Darrington
<john@darrington.wattle.id.au>
Sun, 4 Jul 2010 12:50:16 +0000
(14:50 +0200)
src/output/tab.c
patch
|
blob
|
history
diff --git
a/src/output/tab.c
b/src/output/tab.c
index f6b4886b1f4837327e830fb44cd0c14114878fe4..e4ff158ccd39c74a5c2cb71c240cb955f9d1f477 100644
(file)
--- a/
src/output/tab.c
+++ b/
src/output/tab.c
@@
-709,6
+709,8
@@
static void
tab_destroy (struct table *table)
{
struct tab_table *t = tab_cast (table);
+ free (t->title);
+ t->title = NULL;
pool_destroy (t->container);
}