*fixed missing change from last commit

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@5319 21ef857c-d57f-4fe0-8362-d861dc6d29cd
This commit is contained in:
dmex
2013-05-29 15:28:15 +00:00
parent 79c6cfc91a
commit daa2a11693
+6 -6
View File
@@ -1243,18 +1243,18 @@ static NTSTATUS ShowUpdateDialogThread(
PhDeleteAutoPool(&autoPool);
PhResetEvent(&InitializedEvent);
if (UpdateDialogThreadHandle)
{
NtClose(UpdateDialogThreadHandle);
UpdateDialogThreadHandle = NULL;
}
if (UpdateDialogHandle)
{
DestroyWindow(UpdateDialogHandle);
UpdateDialogHandle = NULL;
}
if (UpdateDialogThreadHandle)
{
NtClose(UpdateDialogThreadHandle);
UpdateDialogThreadHandle = NULL;
}
return STATUS_SUCCESS;
}