Back-patch fix for password checker's file descriptor leak.

This commit is contained in:
Tom Lane 1999-12-01 15:30:46 +00:00
parent c2d8838cab
commit 5cca0df147

View File

@ -1,7 +1,7 @@
/*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: password.c,v 1.21 1999/05/25 16:09:00 momjian Exp $
* $Id: password.c,v 1.21.2.1 1999/12/01 15:30:46 tgl Exp $
*
*/
@ -91,6 +91,8 @@ verify_password(char *auth_arg, char *user, char *password)
}
}
FreeFile(pw_file);
snprintf(PQerrormsg, ERROR_MSG_LENGTH,
"verify_password: user '%s' not found in password file.\n",
user);