Fix mixup between talloc/malloc.