about summary refs log tree commit diff
path: root/src/liballoc/alloc
diff options
context:
space:
mode:
authorTim Diekmann <tim.diekmann@3dvision.de>2020-03-25 21:12:12 +0100
committerTim Diekmann <tim.diekmann@3dvision.de>2020-03-26 17:14:12 +0100
commit03b055b0b4dcf304cd3c5e7a1c6e68fea91584a9 (patch)
tree756da5c6b9cc313eae56f2e6c1af896597f7facf /src/liballoc/alloc
parentbfbdb5f06fcff7939825c33ce573b8f92b362c40 (diff)
downloadrust-03b055b0b4dcf304cd3c5e7a1c6e68fea91584a9.tar.gz
rust-03b055b0b4dcf304cd3c5e7a1c6e68fea91584a9.zip
Remove alignment from `MemoryBlock`
Diffstat (limited to 'src/liballoc/alloc')
-rw-r--r--src/liballoc/alloc/tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/alloc/tests.rs b/src/liballoc/alloc/tests.rs
index 34380ba41b4..7fa71f72ee7 100644
--- a/src/liballoc/alloc/tests.rs
+++ b/src/liballoc/alloc/tests.rs
@@ -18,7 +18,7 @@ fn allocate_zeroed() {
             assert_eq!(*i, 0);
             i = i.offset(1);
         }
-        Global.dealloc(memory);
+        Global.dealloc(memory.ptr(), layout);
     }
 }