diff --git a/engines/mohawk/livingbooks_code.cpp b/engines/mohawk/livingbooks_code.cpp index 21b98424f6f..95f32617877 100644 --- a/engines/mohawk/livingbooks_code.cpp +++ b/engines/mohawk/livingbooks_code.cpp @@ -128,7 +128,7 @@ Common::Rect LBValue::toRect() const { LBCode::LBCode(MohawkEngine_LivingBooks *vm, uint16 baseId) : _vm(vm) { if (!baseId) { - _data = new byte[0]; + _data = NULL; _size = 0; return; }