diff options
Diffstat (limited to 'src/qcommon/cm_patch.c')
-rw-r--r-- | src/qcommon/cm_patch.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qcommon/cm_patch.c b/src/qcommon/cm_patch.c index fa0ff55a..194b806c 100644 --- a/src/qcommon/cm_patch.c +++ b/src/qcommon/cm_patch.c @@ -768,6 +768,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 ); |