Commit 8f05f90f authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

Do not leave uninitialized pointer.

parent 095e084d
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment