Skip to content
Snippets Groups Projects
Commit 0b951d10 authored by Ramiro Polla's avatar Ramiro Polla Committed by Stefano Sabatini
Browse files

dshow: release pin on disconnect

parent c7807eeb
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment