diff options
Diffstat (limited to 'idlc')
-rw-r--r-- | idlc/source/idlccompile.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/idlc/source/idlccompile.cxx b/idlc/source/idlccompile.cxx index c7e69362ec8a..ca6a8ebeb10a 100644 --- a/idlc/source/idlccompile.cxx +++ b/idlc/source/idlccompile.cxx @@ -202,9 +202,8 @@ bool copyFile(const OString* source, const OString& target) if (source != nullptr) { fclose(pSource); } - if ( fflush(pTarget) ) + if ( fclose(pTarget) ) bRet = false; - fclose(pTarget); return bRet; } |