Revert "glu/sgi: Set freed pointer to NULL."
This commit breaks flightgear fgfs. A null pointer is dereferenced in the function MakeVertex. This reverts commit 9be414f4b93c763e1aee8f634a13721ae5d95fcd.
This commit is contained in:
@@ -332,7 +332,6 @@ int __gl_meshSplice( GLUhalfEdge *eOrg, GLUhalfEdge *eDst )
|
||||
/* We are merging two disjoint vertices -- destroy eDst->Org */
|
||||
joiningVertices = TRUE;
|
||||
KillVertex( eDst->Org, eOrg->Org );
|
||||
eDst->Org = NULL;
|
||||
}
|
||||
if( eDst->Lface != eOrg->Lface ) {
|
||||
/* We are connecting two disjoint loops -- destroy eDst->Lface */
|
||||
|
Reference in New Issue
Block a user