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