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 9be414f4b9.
This commit is contained in:
Vinson Lee 2010-02-25 14:26:25 -08:00
parent 6a9705f41d
commit 0bca812dc4

View file

@ -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 */