mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-11-24 08:25:49 +01:00
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
@ -615,7 +615,8 @@ int PDBSourceLineWriter::GetFunctionStackParamSize(IDiaSymbol *function) {
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user