mirror of
https://github.com/postgres/postgres.git
synced 2025-07-17 06:41:09 +03:00
Back-patch fix for erroneous free() of getpwuid() result.
This commit is contained in:
@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright 2000 by PostgreSQL Global Development Group
|
* 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 "postgres.h"
|
||||||
#include "help.h"
|
#include "help.h"
|
||||||
@ -137,11 +137,6 @@ usage(void)
|
|||||||
puts("the PostgreSQL manual, which accompanies the distribution and is also");
|
puts("the PostgreSQL manual, which accompanies the distribution and is also");
|
||||||
puts("available at <http://www.postgresql.org>.");
|
puts("available at <http://www.postgresql.org>.");
|
||||||
puts("Report bugs to <pgsql-bugs@postgresql.org>.");
|
puts("Report bugs to <pgsql-bugs@postgresql.org>.");
|
||||||
|
|
||||||
#ifndef WIN32
|
|
||||||
if (pw)
|
|
||||||
free(pw);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user