Lossless code cleanup

Remove const_cast<PredictionUnit &>(pu), fix memory leak

Merge request reports

Loading