]> granicus.if.org Git - postgresql/commitdiff
Don't free() the result of getpwuid().
authorPeter Eisentraut <peter_e@gmx.net>
Fri, 22 Sep 2000 23:02:00 +0000 (23:02 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Fri, 22 Sep 2000 23:02:00 +0000 (23:02 +0000)
Discovered by Jason Tishler <Jason.Tishler@dothill.com>.

src/bin/psql/help.c

index 8e988c47d9c288d670cfc6ea868f70fb8afdf456..3dfd7d8e8dd44d51be7125f6dfe2f402c931c540 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.32 2000/09/22 23:02:00 petere 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
 }