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

Neil Conway <neilc@samurai.com>

Commit: c1d89c61fce88ee0e33910af8b0c628a162300c9
Author: Neil Conway <neilc@samurai.com>
Date: 2007-06-20T02:02:49Z
Releases: 8.3.0
Minor code cleanup: calling FreeFile() before ereport(ERROR) is not
necessary, since files opened via AllocateFile() are closed automatically
as part of error recovery.

Files

PathChange+/−
src/backend/commands/copy.c modified +1 −7