From: Vinson Lee Date: Thu, 25 Feb 2010 10:19:00 +0000 (-0800) Subject: glu/sgi: Set freed pointer to NULL. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9be414f4b93c763e1aee8f634a13721ae5d95fcd;p=mesa.git glu/sgi: Set freed pointer to NULL. --- diff --git a/src/glu/sgi/libtess/mesh.c b/src/glu/sgi/libtess/mesh.c index 95f87cdc949..2e962ed4375 100644 --- a/src/glu/sgi/libtess/mesh.c +++ b/src/glu/sgi/libtess/mesh.c @@ -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 */