diff --git a/Engine/source/console/compiler.cpp b/Engine/source/console/compiler.cpp index 49125389f..fd871c036 100644 --- a/Engine/source/console/compiler.cpp +++ b/Engine/source/console/compiler.cpp @@ -400,7 +400,7 @@ void CodeStream::reset() { CodeData *next = itr->next; dFree(itr->data); - dFree(itr); + delete(itr); itr = next; }