Commit 30c52532 authored by Magnus Hagander's avatar Magnus Hagander

Comment said we don't free the lockarray, and why. The proper fix is to

make the code do what the comment says...
parent 7537f52a
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
* *
* *
* IDENTIFICATION * 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 * NOTES
* *
...@@ -918,8 +918,6 @@ destroy_ssl_system(void) ...@@ -918,8 +918,6 @@ destroy_ssl_system(void)
* This means we leak a little memory on repeated load/unload * This means we leak a little memory on repeated load/unload
* of the library. * of the library.
*/ */
free(pq_lockarray);
pq_lockarray = NULL;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment