again fix memory leak for old codecs
Merge remote-tracking branch 'cm-10.1-mb52x/cm-10.1' into cm-10.1-mb52x