3 ms·
How do you know that you haven't re-allocated the same memory to something else? You won't get a segfault in that case.
by pebers 9y ago
How do you know that you haven't re-allocated the same memory to something else? You won't get a segfault in that case.
- stochastic_monk 9y agoThis sounds to me like re-discovering RAII and its failure cases in new garb.