Kaydet (Commit) ae00a3d7 authored tarafından Guillaume Poussel's avatar Guillaume Poussel Kaydeden (comit) Caolán McNamara

Clean 'resourceleak' warning in cppcheck.

üst f2bc6b5d
......@@ -242,6 +242,7 @@ void processObject(const std::string& rFile, bool bPreserve, bool bVerbose)
if ( bPreserve ) {
if ( fstat(fd, &aStatBuf) == -1) {
close(fd);
std::string sMessage("adjustVisibilty() failed: can't stat file ");
sMessage += rFile;
sMessage += ": ";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment