Skip to content

Commit 30c5253

Browse files
committed
Comment said we don't free the lockarray, and why. The proper fix is to
make the code do what the comment says...
1 parent 7537f52 commit 30c5253

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/interfaces/libpq/fe-secure.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
*
1313
* IDENTIFICATION
14-
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.112 2008/12/04 02:52:31 momjian Exp $
14+
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.113 2008/12/04 14:07:42 mha Exp $
1515
*
1616
* NOTES
1717
*
@@ -918,8 +918,6 @@ destroy_ssl_system(void)
918918
* This means we leak a little memory on repeated load/unload
919919
* of the library.
920920
*/
921-
free(pq_lockarray);
922-
pq_lockarray = NULL;
923921
}
924922
}
925923

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy