Module: Mesa Branch: master Commit: 9be414f4b93c763e1aee8f634a13721ae5d95fcd URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9be414f4b93c763e1aee8f634a13721ae5d95fcd
Author: Vinson Lee <[email protected]> Date: Thu Feb 25 02:19:00 2010 -0800 glu/sgi: Set freed pointer to NULL. --- src/glu/sgi/libtess/mesh.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/glu/sgi/libtess/mesh.c b/src/glu/sgi/libtess/mesh.c index 95f87cd..2e962ed 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 */ _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
