[video] fix mem leak bug