summaryrefslogtreecommitdiffstats
path: root/src/glu/sgi/libtess/mesh.c
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-02-25 14:26:25 -0800
committerVinson Lee <[email protected]>2010-02-25 14:26:25 -0800
commit0bca812dc43c056c76fce8136f287f9de3c38975 (patch)
tree89d77ec52e73daa8e0eb8be17594476bde5e0882 /src/glu/sgi/libtess/mesh.c
parent6a9705f41d4b6c43bc3459c69d021d0f042cd8ce (diff)
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 9be414f4b93c763e1aee8f634a13721ae5d95fcd.
Diffstat (limited to 'src/glu/sgi/libtess/mesh.c')
-rw-r--r--src/glu/sgi/libtess/mesh.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/glu/sgi/libtess/mesh.c b/src/glu/sgi/libtess/mesh.c
index 2e962ed4375..95f87cdc949 100644
--- a/src/glu/sgi/libtess/mesh.c
+++ b/src/glu/sgi/libtess/mesh.c
@@ -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 */