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:
e403f09
)
Fix a memory leak in tuplestore_end(). Unlikely to be significant during
author
Neil Conway
<neilc@samurai.com>
Thu, 2 Aug 2007 17:48:54 +0000
(17:48 +0000)
committer
Neil Conway
<neilc@samurai.com>
Thu, 2 Aug 2007 17:48:54 +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 1284828727c3200b8e2b8d2de38cfb69f6ec9844..0a1d5e0982fb577d5126553357800327a9f98271 100644
(file)
--- a/
src/backend/utils/sort/tuplestore.c
+++ b/
src/backend/utils/sort/tuplestore.c
@@
-284,6
+284,7
@@
tuplestore_end(Tuplestorestate *state)
pfree(state->memtuples[i]);
pfree(state->memtuples);
}
+ pfree(state);
}
/*