Closed
Bug 603327
Opened 14 years ago
Closed 10 years ago
angle: MacroExpand leaks in, in->args, in->args[] for various failure cases
Categories
(Core :: Graphics, defect)
Core
Graphics
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: timeless, Assigned: timeless)
References
(Blocks 1 open bug)
Details
(Keywords: coverity, memory-leak)
Attachments
(1 file)
2.08 KB,
patch
|
Details | Diff | Splinter Review |
895 int MacroExpand(int atom, yystypepp * yylvalpp) 898 MacroInputSrc *in; 921 in = malloc(sizeof(*in)); 927 if (sym->details.mac.args) { 929 if (token != '(') { leaks in: 932 return 0; 934 in->args = malloc(in->mac->argc * sizeof(TokenStream *)); 935 for (i=0; i<in->mac->argc; i++) 936 in->args[i] = NewTokenStream("macro arg", 0); 938 do{ 940 while(1) { 942 if (token <= 0) { leaks in, in->args, in->args[]: 948 return 1; 972 } else if (token != ')') { 980 if (token <= 0) { leaks in, in->args, in->args[]: 986 return 1;
Updated•14 years ago
|
Summary: MacroExpand leaks in, in->args, in->args[] for various failure cases → angle: MacroExpand leaks in, in->args, in->args[] for various failure cases
Needs to be filed at http://code.google.com/p/angleproject/ -- please file further ANGLE bugs there.
Comment 3•10 years ago
|
||
https://code.google.com/p/angleproject/issues/detail?id=63 is marked as fixed
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
Updated•6 years ago
|
Blocks: coverity-analysis
You need to log in
before you can comment on or make changes to this bug.
Description
•