glu/sgi: Set freed pointer to NULL.

This commit is contained in:
Vinson Lee 2010-02-25 02:19:00 -08:00
parent 686f69bd13
commit 9be414f4b9

View file

@ -332,6 +332,7 @@ 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 */