3 ms·
Too bad it doesn't detect the mismatch between new and free.
by cornstalks 6y ago
Too bad it doesn't detect the mismatch between new and free.
- peapicker 6y agoAnd if you fix it to use delete instead of free, you get "can't delete void *" errors. Perhaps not the best example code.