tested slug_malloc, looks good so far