Fixed an ancient memory leak in the DirectShow plugin