pgsql: Minor code cleanup: calling FreeFile() before ereport(ERROR) is - Mailing list pgsql-committers

From neilc@postgresql.org (Neil Conway)
Subject pgsql: Minor code cleanup: calling FreeFile() before ereport(ERROR) is
Date
Msg-id 20070620020249.DDC949FB5C7@postgresql.org
Whole thread Raw
List 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)

pgsql-committers by date:

Previous
From: pgunittest@pgfoundry.org (User Pgunittest)
Date:
Subject: pgunittest - GeneratorParser:
Next
From: pgunittest@pgfoundry.org (User Pgunittest)
Date:
Subject: pgunittest - GeneratorParser: New Directory