diff options
author | Vinson Lee <[email protected]> | 2010-02-25 02:19:00 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-02-25 02:19:00 -0800 |
commit | 9be414f4b93c763e1aee8f634a13721ae5d95fcd (patch) | |
tree | 80be4022b57a4f31566f9c7456ebef68f24a7c39 /src | |
parent | 686f69bd13fd2aebaa40edeb7e25e4a49b12a2bd (diff) |
glu/sgi: Set freed pointer to NULL.
Diffstat (limited to 'src')
-rw-r--r-- | 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 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 */ |