Fixed a new[]/delete mismatch

Originally committed to SVN as r3089.
This commit is contained in:
harukalover 2009-06-30 05:29:15 +00:00
parent e2aa20949d
commit 2e86a73205
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ namespace Automation4 {
LuaScriptReader::~LuaScriptReader()
{
if (databuf)
delete databuf;
delete[] databuf;
fclose(f);
}