Cleanup: Unnecessary null check

See comment on MEM_delete
This commit is contained in:
2023-04-13 22:20:26 -04:00
parent c38d259779
commit c22fed5c01

View File

@@ -2027,9 +2027,7 @@ static void freeData(ModifierData *md)
nmd->settings.properties = nullptr;
}
if (nmd->simulation_cache != nullptr) {
MEM_delete(nmd->simulation_cache);
}
clear_runtime_data(nmd);
}