wbenny / hvpp

hvpp is a lightweight Intel x64/VT-x hypervisor written in C++ focused primarily on virtualization of already running operating system
MIT License
1.12k stars 221 forks source link

fix memory leak #30

Closed namazso closed 5 years ago

namazso commented 5 years ago

since MmGetPhysicalMemoryRanges is not documented, the fact that it allocates memory that you're supposed to free is also not documented.

wbenny commented 5 years ago

Interesting, I wonder why Driver Verifier didn't catch this. I thought that it returns just some pointer to const struct. Thank you!