EC UT fail bug fix

occasional UT fail due to 0 malloc and free. Fix it.
see:
https://rbcommons.com/s/OpenH264/r/914/