aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2008-12-04 14:07:42 +0000
committerMagnus Hagander <magnus@hagander.net>2008-12-04 14:07:42 +0000
commit30c52532d2fe9dfc915ae1292f03adf7d033816b (patch)
tree1caa4d0fd5aae6a818ad038594ccb2928bbca573
parent7537f52a00acb0a2be60a90d9ec384c5935a1695 (diff)
downloadpostgresql-30c52532d2fe9dfc915ae1292f03adf7d033816b.tar.gz
postgresql-30c52532d2fe9dfc915ae1292f03adf7d033816b.zip
Comment said we don't free the lockarray, and why. The proper fix is to
make the code do what the comment says...
-rw-r--r--src/interfaces/libpq/fe-secure.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/interfaces/libpq/fe-secure.c b/src/interfaces/libpq/fe-secure.c
index 6e421b92d97..7aa2ca508c1 100644
--- a/src/interfaces/libpq/fe-secure.c
+++ b/src/interfaces/libpq/fe-secure.c
@@ -11,7 +11,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.112 2008/12/04 02:52:31 momjian Exp $
+ * $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.113 2008/12/04 14:07:42 mha Exp $
*
* NOTES
*
@@ -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;
}
}