Skip to content

Commit 01e6640

Browse files
committed
Back-patch fix for erroneous free() of getpwuid() result.
1 parent 8e9ad61 commit 01e6640

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/bin/psql/help.c

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright 2000 by PostgreSQL Global Development Group
55
*
6-
* $Header: /cvsroot/pgsql/src/bin/psql/help.c,v 1.31 2000/05/26 15:47:18 momjian Exp $
6+
* $Header: /cvsroot/pgsql/src/bin/psql/help.c,v 1.31.2.1 2000/09/23 19:17:06 tgl Exp $
77
*/
88
#include "postgres.h"
99
#include "help.h"
@@ -137,11 +137,6 @@ usage(void)
137137
puts("the PostgreSQL manual, which accompanies the distribution and is also");
138138
puts("available at <http://www.postgresql.org>.");
139139
puts("Report bugs to <pgsql-bugs@postgresql.org>.");
140-
141-
#ifndef WIN32
142-
if (pw)
143-
free(pw);
144-
#endif
145140
}
146141

147142

0 commit comments

Comments
 (0)