Skip to content
Snippets Groups Projects
Commit 5666485a authored by Tom Lane's avatar Tom Lane
Browse files

Remember to close the file on failure (pretty much redundant, really,

since this path will lead to postmaster exit anyway...)
parent 664f93ce
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* *
* Copyright (c) 2000-2004, PostgreSQL Global Development Group * 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) ...@@ -214,6 +214,7 @@ ProcessConfigFile(GucContext context)
{ {
pfree(opt_name); pfree(opt_name);
pfree(opt_value); pfree(opt_value);
FreeFile(fp);
goto cleanup_exit; goto cleanup_exit;
} }
pfree(opt_name); pfree(opt_name);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment