projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2756cf4
)
Fix a memory leak in tuplestore_end(). Unlikely to be significant during
author
Neil Conway
<neilc@samurai.com>
Thu, 2 Aug 2007 17:48:57 +0000
(17:48 +0000)
committer
Neil Conway
<neilc@samurai.com>
Thu, 2 Aug 2007 17:48:57 +0000
(17:48 +0000)
normal operation, but tuplestore_end() ought to do what it claims to do.
src/backend/utils/sort/tuplestore.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/utils/sort/tuplestore.c
b/src/backend/utils/sort/tuplestore.c
index fa6e65c1667948f8f74986d3ceffdbd6cb54fa5a..8b9f53379ccf0482956239c57b9fdee1da5432fb 100644
(file)
--- a/
src/backend/utils/sort/tuplestore.c
+++ b/
src/backend/utils/sort/tuplestore.c
@@
-283,6
+283,7
@@
tuplestore_end(Tuplestorestate *state)
pfree(state->memtuples[i]);
pfree(state->memtuples);
}
+ pfree(state);
}
/*