mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-19 23:48:44 +00:00
Changed: Delete filenames before allocating new ones
--HG-- branch : develop
This commit is contained in:
parent
995ea1e64f
commit
06cc0ddec8
1 changed files with 3 additions and 0 deletions
|
@ -339,6 +339,9 @@ bool CBigFile::BNP::readHeader(FILE *file)
|
|||
it++;
|
||||
}
|
||||
|
||||
if (FileNames)
|
||||
delete[] FileNames;
|
||||
|
||||
FileNames = new char[nSize];
|
||||
memset(FileNames, 0, nSize);
|
||||
Files.resize(nNb);
|
||||
|
|
Loading…
Reference in a new issue