Fixed memory leak in FLV library.