mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 21:08:11 +02:00
glu/sgi: Add assert to check for null pointer dereference.
This commit is contained in:
parent
a05fdbcb71
commit
e045af4146
1 changed files with 1 additions and 0 deletions
|
|
@ -264,6 +264,7 @@ monoChain* directedLineLoopToMonoChainLoop(directedLine* loop)
|
|||
prevCusp = temp;
|
||||
}
|
||||
}
|
||||
assert(ret);
|
||||
ret->insert(new monoChain(prevCusp, firstCusp));
|
||||
|
||||
return ret;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue