diff --git a/loader/dshow/outputpin.c b/loader/dshow/outputpin.c index f1840fa6a3..534ff13615 100644 --- a/loader/dshow/outputpin.c +++ b/loader/dshow/outputpin.c @@ -906,6 +906,7 @@ COutputPin* COutputPinCreate(const AM_MEDIA_TYPE* amt,SAMPLEPROC SampleProc,void if (!This->vt || !This->mempin || !ivt) { COutputPin_Destroy(This); + free(ivt); return NULL; }