projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
686f69b
)
glu/sgi: Set freed pointer to NULL.
author
Vinson Lee
<vlee@vmware.com>
Thu, 25 Feb 2010 10:19:00 +0000
(
02:19
-0800)
committer
Vinson Lee
<vlee@vmware.com>
Thu, 25 Feb 2010 10:19:00 +0000
(
02:19
-0800)
src/glu/sgi/libtess/mesh.c
patch
|
blob
|
history
diff --git
a/src/glu/sgi/libtess/mesh.c
b/src/glu/sgi/libtess/mesh.c
index 95f87cdc9499dd118d80986137a9ddfcc46fe7b1..2e962ed4375faf720c8f866fb5913b6f9af14928 100644
(file)
--- 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 */