mirror of
https://github.com/postgres/postgres.git
synced 2026-07-15 04:40:58 -04:00
Remember to close the file on failure (pretty much redundant, really,
since this path will lead to postmaster exit anyway...)
This commit is contained in:
parent
664f93ce18
commit
5666485aa8
1 changed files with 2 additions and 1 deletions
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* Copyright (c) 2000-2004, PostgreSQL Global Development Group
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/backend/utils/misc/guc-file.l,v 1.27 2004/11/11 23:45:13 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/utils/misc/guc-file.l,v 1.28 2004/11/12 00:08:23 tgl Exp $
|
||||
*/
|
||||
|
||||
%{
|
||||
|
|
@ -214,6 +214,7 @@ ProcessConfigFile(GucContext context)
|
|||
{
|
||||
pfree(opt_name);
|
||||
pfree(opt_value);
|
||||
FreeFile(fp);
|
||||
goto cleanup_exit;
|
||||
}
|
||||
pfree(opt_name);
|
||||
|
|
|
|||
Loading…
Reference in a new issue