Fix a leak in the AAC encoder