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:
eca977e
)
Destroy case source to fix memory leak.
author
Ben Pfaff
<blp@gnu.org>
Sun, 7 May 2006 05:48:57 +0000
(
05:48
+0000)
committer
Ben Pfaff
<blp@gnu.org>
Sun, 7 May 2006 05:48:57 +0000
(
05:48
+0000)
src/data/ChangeLog
patch
|
blob
|
history
src/data/storage-stream.c
patch
|
blob
|
history
diff --git
a/src/data/ChangeLog
b/src/data/ChangeLog
index a6e6b00408499249b0f01b71309a85a7d208e673..f223801c51c7f680b6af932646b0c01e5832e387 100644
(file)
--- a/
src/data/ChangeLog
+++ b/
src/data/ChangeLog
@@
-1,3
+1,8
@@
+Sat May 6 22:48:30 2006 Ben Pfaff <blp@gnu.org>
+
+ * storage-stream.c (storage_source_decapsulate): Destroy case
+ source to fix memory leak.
+
Sat May 6 22:46:47 2006 Ben Pfaff <blp@gnu.org>
* scratch-reader.c (scratch_reader_read_case): Copy into existing
diff --git
a/src/data/storage-stream.c
b/src/data/storage-stream.c
index a90a8aba1122d2575b5977a0bec779a889117bfc..c3b278cd769c6091bdbe88267dd2676423fab0ca 100644
(file)
--- a/
src/data/storage-stream.c
+++ b/
src/data/storage-stream.c
@@
-172,7
+172,7
@@
storage_source_decapsulate (struct case_source *source)
assert (source->class == &storage_source_class);
casefile = info->casefile;
info->casefile = NULL;
-
destroy_storage_stream_info (info
);
+
free_case_source (source
);
return casefile;
}