X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavdevice%2Fdshow_pin.c;h=5e14108092de72b4f500abee4cb8fdce188a9382;hb=e3e962835fbcc0c5220382539c84afd700d6a369;hp=f31ecc6c99f643d3e983a25727ce5bd52f2fd9c8;hpb=876d1d796bd80c75e3e6a7a458e3143cfe5c9474;p=ffmpeg diff --git a/libavdevice/dshow_pin.c b/libavdevice/dshow_pin.c index f31ecc6c99f..5e14108092d 100644 --- a/libavdevice/dshow_pin.c +++ b/libavdevice/dshow_pin.c @@ -73,6 +73,7 @@ libAVPin_Disconnect(libAVPin *this) return VFW_E_NOT_STOPPED; if (!this->connectedto) return S_FALSE; + IPin_Release(this->connectedto); this->connectedto = NULL; return S_OK;