summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2000-09-23 19:17:06 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2000-09-23 19:17:06 +0000
commit01e664025eca3c927b4859192499ca405c65c378 (patch)
tree09aaafff42ca6ba87d29d3ea3fadb89f2c04ef6d
parent8e9ad61397745e2d5fd08173751b92c43491c409 (diff)
Back-patch fix for erroneous free() of getpwuid() result.
-rw-r--r--src/bin/psql/help.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c
index 8e988c47d9c..07c8f647444 100644
--- a/src/bin/psql/help.c
+++ b/src/bin/psql/help.c
@@ -3,7 +3,7 @@
*
* Copyright 2000 by PostgreSQL Global Development Group
*
- * $Header: /cvsroot/pgsql/src/bin/psql/help.c,v 1.31 2000/05/26 15:47:18 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/bin/psql/help.c,v 1.31.2.1 2000/09/23 19:17:06 tgl Exp $
*/
#include "postgres.h"
#include "help.h"
@@ -137,11 +137,6 @@ usage(void)
puts("the PostgreSQL manual, which accompanies the distribution and is also");
puts("available at <http://www.postgresql.org>.");
puts("Report bugs to <pgsql-bugs@postgresql.org>.");
-
-#ifndef WIN32
- if (pw)
- free(pw);
-#endif
}