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:
3b4126f
)
Destroy chain's trns member, to fix memory leak.
author
Ben Pfaff
<blp@gnu.org>
Sun, 7 May 2006 05:50:07 +0000
(
05:50
+0000)
committer
Ben Pfaff
<blp@gnu.org>
Sun, 7 May 2006 05:50:07 +0000
(
05:50
+0000)
src/data/ChangeLog
patch
|
blob
|
history
src/data/transformations.c
patch
|
blob
|
history
diff --git
a/src/data/ChangeLog
b/src/data/ChangeLog
index f223801c51c7f680b6af932646b0c01e5832e387..16e55fe7780c20d628dd6c437f6c52e63c55f3f1 100644
(file)
--- a/
src/data/ChangeLog
+++ b/
src/data/ChangeLog
@@
-1,3
+1,8
@@
+Sat May 6 22:49:43 2006 Ben Pfaff <blp@gnu.org>
+
+ * transformations.c (trns_chain_destroy): Destroy chain's trns
+ member, to fix memory leak.
+
Sat May 6 22:48:30 2006 Ben Pfaff <blp@gnu.org>
* storage-stream.c (storage_source_decapsulate): Destroy case
diff --git
a/src/data/transformations.c
b/src/data/transformations.c
index 675e1c91d95b682b87acb05a3d477125398e88d5..51fddb197e2fa2fe4642c99b8bc15730f247847e 100644
(file)
--- a/
src/data/transformations.c
+++ b/
src/data/transformations.c
@@
-105,6
+105,7
@@
trns_chain_destroy (struct trns_chain *chain)
if (trns->free != NULL)
ok = trns->free (trns->aux) && ok;
}
+ free (chain->trns);
free (chain);
}