This commit is contained in:
Folkert 2022-10-12 21:17:41 +02:00
parent d9f9183009
commit 3a9dbec14b
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C

View file

@ -719,10 +719,6 @@ fn roc_run<'a, I: IntoIterator<Item = &'a OsStr>>(
.strip_prefix(env::current_dir().unwrap())
.unwrap_or(path);
// No need to waste time freeing this memory,
// since the process is about to exit anyway.
std::mem::forget(arena);
#[cfg(target_family = "unix")]
{
use std::os::unix::ffi::OsStrExt;