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:
mmentovai 2007-04-25 15:17:19 +00:00
parent b63740b329
commit 329e6a9630

View File

@ -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;
} }