Reduce memory leaks in stereo_view (not my code)  0:-)