Emergency crash fix, tbr=bryner
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@147 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
b63740b329
commit
329e6a9630
1 changed files with 2 additions and 1 deletions
|
@ -615,7 +615,8 @@ int PDBSourceLineWriter::GetFunctionStackParamSize(IDiaSymbol *function) {
|
||||||
goto next_child;
|
goto next_child;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (FAILED(child->get_type(&child_type))) {
|
// IDiaSymbol::get_type can succeed but still pass back a NULL value.
|
||||||
|
if (FAILED(child->get_type(&child_type)) || !child_type) {
|
||||||
goto next_child;
|
goto next_child;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue