Do not leave uninitialized pointer.
This commit is contained in:
parent
095e084d50
commit
8f05f90fb2
|
@ -419,6 +419,7 @@ static void LoadSubstList(void)
|
|||
HeapFree(GetProcessHeap(), 0, (*ppsub)->to.name);
|
||||
HeapFree(GetProcessHeap(), 0, (*ppsub)->from.name);
|
||||
HeapFree(GetProcessHeap(), 0, *ppsub);
|
||||
*ppsub = NULL;
|
||||
} else {
|
||||
ppsub = &((*ppsub)->next);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue