projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a05fdbc
)
glu/sgi: Add assert to check for null pointer dereference.
author
Vinson Lee
<vlee@vmware.com>
Mon, 15 Feb 2010 10:14:02 +0000
(
02:14
-0800)
committer
Vinson Lee
<vlee@vmware.com>
Mon, 15 Feb 2010 10:14:02 +0000
(
02:14
-0800)
src/glu/sgi/libnurbs/nurbtess/monoChain.cc
patch
|
blob
|
history
diff --git
a/src/glu/sgi/libnurbs/nurbtess/monoChain.cc
b/src/glu/sgi/libnurbs/nurbtess/monoChain.cc
index b17b9405c1a4979dba38505ea53cfa97066f0e0a..cb28129adfb06276d98bd6f1b0fcbbe39284c70e 100644
(file)
--- 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;