kernelwernel / VMAware

VM detection library and tool
GNU General Public License v3.0
291 stars 28 forks source link

Detected some memory leaks #60

Closed viceinator closed 4 months ago

viceinator commented 4 months ago

Calling VM::brand(); leads to an memory-leak: https://github.com/kernelwernel/VMAware/blob/5f156e643a56de46cc030e838bd9f57cf4269a8a/src/vmaware.hpp#L2773


Same here (VM::detect();): https://github.com/kernelwernel/VMAware/blob/5f156e643a56de46cc030e838bd9f57cf4269a8a/src/vmaware.hpp#L1775

kernelwernel commented 4 months ago

fixed here, thanks for reporting this :)