blob: 65ce0dcdcddea81a93228204099f51289dc81f65 [file] [log] [blame]
error: memory leaked: ALLOC (C heap, size: 0, align: 1), allocated here:
--> $DIR/malloc_zero_memory_leak.rs:LL:CC
|
LL | let _ptr = libc::malloc(0);
| ^^^^^^^^^^^^^^^
|
= note: BACKTRACE:
= note: inside `main` at $DIR/malloc_zero_memory_leak.rs:LL:CC
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
note: the evaluated program leaked memory, pass `-Zmiri-ignore-leaks` to disable this check
error: aborting due to 1 previous error