projects
/
users
/
simon
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de9201b
)
Comment said we don't free the lockarray, and why. The proper fix is to
author
Magnus Hagander
<magnus@hagander.net>
Thu, 4 Dec 2008 14:07:42 +0000
(14:07 +0000)
committer
Magnus Hagander
<magnus@hagander.net>
Thu, 4 Dec 2008 14:07:42 +0000
(14:07 +0000)
make the code do what the comment says...
src/interfaces/libpq/fe-secure.c
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/libpq/fe-secure.c
b/src/interfaces/libpq/fe-secure.c
index 36cec88d405d08107730c73966080aed07935502..bca3938b2ed5507a4b986791a4874080f544239e 100644
(file)
--- a/
src/interfaces/libpq/fe-secure.c
+++ b/
src/interfaces/libpq/fe-secure.c
@@
-918,8
+918,6
@@
destroy_ssl_system(void)
* This means we leak a little memory on repeated load/unload
* of the library.
*/
- free(pq_lockarray);
- pq_lockarray = NULL;
}
}