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

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

From
neilc@postgresql.org (Neil Conway)
Date:
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)