Fixed malloc