* Fix to a memory leak in CM_ValidateFacet
This commit is contained in:
1 parent
b90f0825bf
commit
ab29f29495
2 files changed
+2
-1
No files matched your search
@@ -767,6 +767,7 @@ static qboolean CM_ValidateFacet( facet_t *facet ) {
|
||||
w = BaseWindingForPlane( plane, plane[3] );
|
||||
for ( j = 0 ; j < facet->numBorders && w ; j++ ) {
|
||||
if ( facet->borderPlanes[j] == -1 ) {
|
||||
FreeWinding( w );
|
||||
return qfalse;
|
||||
}
|
||||
Vector4Copy( planes[ facet->borderPlanes[j] ].plane, plane );
|
||||
|
||||
Reference in new issue
Block a user