fix memory leak on usr

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5019 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 671b38602e89e41b248d103af7fb404aeabc7295
Former-commit-id: df328f9948997870e2dca513c6f3fe6e17877b24
This commit is contained in:
torcs-ng 2012-10-27 14:53:17 +00:00
parent 4415062891
commit 8a4c509a32

View file

@ -1316,7 +1316,7 @@ void LRaceLine::ComputeSpeed(int rl)
for (int i = Divs-1; --i >= 0;)
tSpeed[rf][i] = tmpSpeed[i];
delete tmpSpeed;
delete[] tmpSpeed;
}
}