[fix] use std.c.stdlib.free instead core.memory.free