diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2013-06-29 22:35:04 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2013-06-30 03:45:36 -0400 |
| commit | b883d6a54c460f8357b1107b3599108eb1f8580b (patch) | |
| tree | 64589d59861624f36771f0f1d1a300fe4d49ffec /src/rt/rust_stack.cpp | |
| parent | 439b13f071a4a884ea8645670df83162ffcf129f (diff) | |
| download | rust-b883d6a54c460f8357b1107b3599108eb1f8580b.tar.gz rust-b883d6a54c460f8357b1107b3599108eb1f8580b.zip | |
simplify the exchange allocator
* stop using an atomic counter, this has a significant cost and valgrind will already catch these leaks * remove the extra layer of function calls * remove the assert of non-null in free, freeing null is well defined but throwing a failure from free will not be * stop initializing the `prev`/`next` pointers * abort on out-of-memory, failing won't necessarily work
Diffstat (limited to 'src/rt/rust_stack.cpp')
0 files changed, 0 insertions, 0 deletions
