Core: fix possible memory leaks.

This commit is contained in:
Andreas Haas
2017-04-06 13:18:41 +02:00
parent 46bc14e66f
commit a2734df7ed
2 changed files with 2 additions and 2 deletions

View File

@ -172,6 +172,7 @@ Error PCKPacker::flush(bool p_verbose) {
printf("\n");
file->close();
memdelete(buf);
return OK;
};