Do not leave uninitialized pointer.

This commit is contained in:
Dmitry Timoshkov 2002-08-17 01:38:48 +00:00 committed by Alexandre Julliard
parent 095e084d50
commit 8f05f90fb2
1 changed files with 1 additions and 0 deletions

View File

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