From 01e664025eca3c927b4859192499ca405c65c378 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sat, 23 Sep 2000 19:17:06 +0000 Subject: [PATCH] Back-patch fix for erroneous free() of getpwuid() result. --- src/bin/psql/help.c | 7 +------ 1 file changed, 1 insertion(+), 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 ."); puts("Report bugs to ."); - -#ifndef WIN32 - if (pw) - free(pw); -#endif } -- 2.39.5