Fixed a new[]/delete mismatch
Originally committed to SVN as r3089.
This commit is contained in:
parent
e2aa20949d
commit
2e86a73205
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ namespace Automation4 {
|
||||||
LuaScriptReader::~LuaScriptReader()
|
LuaScriptReader::~LuaScriptReader()
|
||||||
{
|
{
|
||||||
if (databuf)
|
if (databuf)
|
||||||
delete databuf;
|
delete[] databuf;
|
||||||
fclose(f);
|
fclose(f);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue