diff options
author | Vinson Lee <vlee@vmware.com> | 2010-02-25 14:26:25 -0800 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2010-02-25 14:26:25 -0800 |
commit | 7491e48f060b9d317b8d46ac1ec3668ca2085210 (patch) | |
tree | f910a8f8cd536901a357c3dc505e5df3e6799840 | |
parent | c3ea160eeaa70ac2d9992cea86f9f3a123e1b1d4 (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.
-rw-r--r-- | src/libtess/mesh.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libtess/mesh.c b/src/libtess/mesh.c index 2e962ed..95f87cd 100644 --- a/src/libtess/mesh.c +++ b/src/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 */ |