Merge "Fix the memory leak during high speed recording"