I review every commit unless the project is simply too vast. I used a tool called GitKraken that is simply superb. Sometimes I even download the branch and run the changes through a debugger but usually I can just eyeball it and catch bugs.
I bet I was the only one on the MS campus who knew about the Heap API. Everyone else just used alloc and free.
I review every commit unless the project is simply too vast. I used a tool called GitKraken that is simply superb. Sometimes I even download the branch and run the changes through a debugger but usually I can just eyeball it and catch bugs.
I bet I was the only one on the MS campus who knew about the Heap API. Everyone else just used alloc and free.
It allocates in pages, usually 4K, and releases the entire page set with that last call, and everything allocated with it. It would take an effort to leak memory.
I review every commit unless the project is simply too vast. I used a tool called GitKraken that is simply superb. Sometimes I even download the branch and run the changes through a debugger but usually I can just eyeball it and catch bugs.
I bet I was the only one on the MS campus who knew about the Heap API. Everyone else just used alloc and free.
I didn't know about it either.
Part of the C/C++ Win32/Win64 API.
HHEAP HeapCreate,
HeapFree,
HeapAlloc,
HeapDestroy
It allocates in pages, usually 4K, and releases the entire page set with that last call, and everything allocated with it. It would take an effort to leak memory.