Fix bug in mem_freeable.