accc: fix memory leak
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7701 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: e498629a1249c09d9e7696ba0727b27254002b56 Former-commit-id: e514cd289532fa3d5a0eb67f29115bc015a5aa2c
This commit is contained in:
parent
8c8b37f96b
commit
f7448b57d5
1 changed files with 2 additions and 0 deletions
|
@ -3700,6 +3700,8 @@ void stripifyOb(ob_t * object, int writeit)
|
|||
object->numvertice = k;
|
||||
object->numsurf = k / 3;
|
||||
}
|
||||
else
|
||||
free(stripvertexarray);
|
||||
free(StripPoint);
|
||||
free(StripStart);
|
||||
free(StripLength);
|
||||
|
|
Loading…
Reference in a new issue