malloc agnostic