pgsql: Minor code cleanup: calling FreeFile() before ereport(ERROR) is

From: neilc(at)postgresql(dot)org (Neil Conway)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Minor code cleanup: calling FreeFile() before ereport(ERROR) is
Date: 2007-06-20 02:02:49
Message-ID: 20070620020249.DDC949FB5C7@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Minor code cleanup: calling FreeFile() before ereport(ERROR) is not
necessary, since files opened via AllocateFile() are closed automatically
as part of error recovery.

Modified Files:
--------------
pgsql/src/backend/commands:
copy.c (r1.284 -> r1.285)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/copy.c.diff?r1=1.284&r2=1.285)

Browse pgsql-committers by date

  From Date Subject
Next Message User Pgunittest 2007-06-20 14:30:52 pgunittest - GeneratorParser: New Directory
Previous Message User Pgunittest 2007-06-20 00:04:11 pgunittest - GeneratorParser: