avcodec_decode_audio4()'s docs say it allocates the frame.  After I already fixed all the leaks too, now you introduce them again?  Did you check this carefully?

-[Unknown]