4 ms·
What, you never deallocated the bit of memory holding where you put your keys before collecting the keys?
by Tyr42 3y ago
What, you never deallocated the bit of memory holding where you put your keys before collecting the keys?
- mtlmtlmtlmtl 3y agoDon't forget to zero the memory first. If you don't, the keys may still be there depending on the allocator. Also, be careful about how you zero it, so the compiler doesn't optimise it out.