diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2000-09-22 23:02:00 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2000-09-22 23:02:00 +0000 |
commit | 27777b6645d687de17172707ea3f32b82a7360b0 (patch) | |
tree | 94a7226d23fe741876111bee0cecb8b855b8aff0 /src/bin/psql/help.c | |
parent | 920c5062d21e92ad165f152810436fa272cc8513 (diff) | |
download | postgresql-27777b6645d687de17172707ea3f32b82a7360b0.tar.gz postgresql-27777b6645d687de17172707ea3f32b82a7360b0.zip |
Don't free() the result of getpwuid().
Discovered by Jason Tishler <Jason.Tishler@dothill.com>.
Diffstat (limited to 'src/bin/psql/help.c')
-rw-r--r-- | src/bin/psql/help.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c index 8e988c47d9c..3dfd7d8e8dd 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.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 } |