Objs in array was deleted, but not array itself.

This commit is contained in:
Fredrik Holmqvist 2018-04-22 00:12:08 +02:00
parent c74be242c4
commit 99400bbed0

View File

@ -263,6 +263,7 @@ struct ModelLoader::ExtendedThreadSchedulingState
if (modelRequest == NULL) {
for (size_t i = 0; i < index; i++)
requests[i]->Delete();
delete requests;
return false;
}