dbghelp: Check for NULL return from process_find_by_handle (Coverity).

This commit is contained in:
Marcus Meissner 2009-12-15 11:14:48 +01:00 committed by Alexandre Julliard
parent 9bf516a813
commit 6feb525bc7
1 changed files with 1 additions and 0 deletions

View File

@ -466,6 +466,7 @@ static BOOL CALLBACK reg_cb64to32(HANDLE hProcess, ULONG action, ULONG64 data, U
IMAGEHLP_DEFERRED_SYMBOL_LOAD64* idsl64; IMAGEHLP_DEFERRED_SYMBOL_LOAD64* idsl64;
IMAGEHLP_DEFERRED_SYMBOL_LOAD idsl; IMAGEHLP_DEFERRED_SYMBOL_LOAD idsl;
if (!pcs) return FALSE;
switch (action) switch (action)
{ {
case CBA_DEBUG_INFO: case CBA_DEBUG_INFO: