Fix for unfreed memory due to unnecessary early exit in the free

function.
This commit is contained in:
Lukas Tönne 2015-02-02 13:37:35 +01:00
parent 961b7e78b4
commit 159124726e
1 changed files with 0 additions and 3 deletions

View File

@ -473,9 +473,6 @@ void psys_tasks_free(ParticleTask *tasks, int numtasks)
{
int i;
if (numtasks == 0)
return;
/* threads */
for (i = 0; i < numtasks; ++i) {
if (tasks[i].rng)