Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit30c5253

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 parent7537f52 commit30c5253

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/0402:52:31 momjian Exp $
14+
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.113 2008/12/0414: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)

[8]ページ先頭

©2009-2025 Movatter.jp