diff options
author | Vinson Lee <vlee@vmware.com> | 2010-02-15 02:14:02 -0800 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2010-02-15 02:14:02 -0800 |
commit | e045af41469f2e2b512fc748cbad841774a39905 (patch) | |
tree | e2450ee812fb39acbeb21204c54640ac94260288 /src | |
parent | a05fdbcb719ac64e6be842372813f0f4ca2f4f93 (diff) |
glu/sgi: Add assert to check for null pointer dereference.
Diffstat (limited to 'src')
-rw-r--r-- | src/glu/sgi/libnurbs/nurbtess/monoChain.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glu/sgi/libnurbs/nurbtess/monoChain.cc b/src/glu/sgi/libnurbs/nurbtess/monoChain.cc index b17b9405c1..cb28129adf 100644 --- a/src/glu/sgi/libnurbs/nurbtess/monoChain.cc +++ b/src/glu/sgi/libnurbs/nurbtess/monoChain.cc @@ -264,6 +264,7 @@ monoChain* directedLineLoopToMonoChainLoop(directedLine* loop) prevCusp = temp; } } + assert(ret); ret->insert(new monoChain(prevCusp, firstCusp)); return ret; |