Close cmdaccess.ini file if fopen found the file... (#815)

Close file if fopen found the file...
This commit is contained in:
Cleverson 2019-12-20 07:12:46 -03:00 committed by Vincent Herbet
parent 0ccba67006
commit 0eba9b3708

View File

@ -143,6 +143,10 @@ private:
fclose(fp); fclose(fp);
}; };
} }
else
{
fclose(fp);
}
}; };
/** /**
* Returns 1 if the timestamp for the file is different than the one we have loaded * Returns 1 if the timestamp for the file is different than the one we have loaded