Upstream commit "Fix a leak from AACEncoder.cpp"
Upstream commit "Fix a leak from AACEncoder.cpp"

bug - 3470617

Change-Id: I328e92bc1b2aca72e5856703dae00f957f40bc27

Adapted from upstream commit 99b862476df2f5d487db98a32a0c88e3a6be8420.

Distrotech/vo-aacenc,vamsirajendra/vo-aacenc,mstorsjo/vo-aacenc,Distrotech/vo-aacenc,Distrotech/vo-aacenc,vamsirajendra/vo-aacenc,mstorsjo/vo-aacenc