Back-patch fix for erroneous free() of getpwuid() result.
authorTom Lane <[email protected]>
Sat, 23 Sep 2000 19:17:06 +0000 (19:17 +0000)
committerTom Lane <[email protected]>
Sat, 23 Sep 2000 19:17:06 +0000 (19:17 +0000)
src/bin/psql/help.c

index 8e988c47d9c288d670cfc6ea868f70fb8afdf456..07c8f647444d2e325572be8f6d8a09ddad2d9674 100644 (file)
@@ -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 <[email protected]>.");
-
-#ifndef WIN32
-   if (pw)
-       free(pw);
-#endif
 }