C++: Correct comment.

This commit is contained in:
Geoffrey White
2020-12-08 16:55:19 +00:00
parent ef131d3951
commit e18f290864
2 changed files with 2 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ private class MallocAllocationFunction extends AllocationFunction {
"MmAllocateMappingAddress", // MmAllocateMappingAddress(size, tag)
// --- Windows COM allocation
"CoTaskMemAlloc", // CoTaskMemAlloc(size)
// --- Linux kernel memory allocator
// --- Solaris/BSD kernel memory allocator
"kmem_alloc", // kmem_alloc(size, flags)
"kmem_zalloc", // kmem_zalloc(size, flags)
// --- OpenSSL memory allocation

View File

@@ -35,7 +35,7 @@ private class StandardDeallocationFunction extends DeallocationFunction {
"CoTaskMemFree", "CoTaskMemRealloc",
// --- Windows Automation
"SysFreeString",
// --- Linux kernel memory allocator
// --- Solaris/BSD kernel memory allocator
"kmem_free"
]) and
freedArg = 0