[coverity] 1543219 Dereference before null check
This commit is contained in:
parent
a8ce0aee29
commit
8f9707897c
@ -561,7 +561,8 @@ size_t HashTable_GetKeys(wHashTable* table, ULONG_PTR** ppKeys)
|
||||
|
||||
iKey = 0;
|
||||
count = table->numOfElements;
|
||||
*ppKeys = NULL;
|
||||
if (ppKeys)
|
||||
*ppKeys = NULL;
|
||||
|
||||
if (count < 1)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user