Permalink
Browse files

DEVTOOLS: Fix Missing Delete call in KYRA datfile creation tool.

This is part of the fix for bug Trac #10655.
  • Loading branch information...
digitall committed Oct 6, 2018
1 parent 16bf0e4 commit f480bed06db86da15e41c705a9d22e80782c1424
Showing with 1 addition and 0 deletions.
  1. +1 −0 devtools/create_kyradat/pak.cpp
@@ -204,6 +204,7 @@ bool PAKFile::addFile(const char *name, const char *file) {
assert(data);
if (fread(data, 1, filesize, f) != filesize) {
error("couldn't read from file '%s'", file);
delete[] data;
return false;
}
fclose(f);

0 comments on commit f480bed

Please sign in to comment.