
Loading…
Don't derive Copy/Clone for Frame so we can be sure that it's free #52
+12
−5
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This page is out of date. Refresh to see the latest.
Showing
with
12 additions
and 5 deletions.
11
posts/2015-11-15-allocating-frames.md
4
src/memory/area_frame_allocator.rs
2
src/memory/mod.rs
If a Frame would be clonable or even Copy, the frame could be freed (e.g. passed to deallocate_frame) and used thereafter. Or it could be freed multiple times.