mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-19 12:48:30 +02:00
glu/sgi: Set freed pointer to NULL.
This commit is contained in:
parent
686f69bd13
commit
9be414f4b9
1 changed files with 1 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue