MP1-4155: fixed memory leaks in F4M and MSHS parsers
preparing functionality of MPEG2 TS parser