3 ms·
Can't you use mem::drop to (effectively) deallocate memory before it goes out of scope? (I know this isn't quite the same thing as liballoc on nightly)
by moosingin3space 10y ago
Can't you use mem::drop to (effectively) deallocate memory before it goes out of scope?
(I know this isn't quite the same thing as liballoc on nightly)
- steveklabnik 10y agoThat's true. Even though my parent said "free", I just assumed both sides of the equation :)