XeUnloadsection should return STATUS_SUCCESS on success

This commit is contained in:
Luke Usher 2017-10-18 16:41:13 +01:00
parent 1613b5d9a6
commit 58939f8297
1 changed files with 2 additions and 0 deletions

View File

@ -125,6 +125,8 @@ XBSYSAPI EXPORTNUM(328) xboxkrnl::NTSTATUS NTAPI xboxkrnl::XeUnloadSection
if (Section->SectionReferenceCount == 0) {
memset(Section->VirtualAddress, 0, Section->VirtualSize);
}
ret = STATUS_SUCCESS;
}
RETURN(ret);