Fixed possible double-free crash

This commit is contained in:
Albert Vaca 2013-09-13 21:20:23 +02:00
parent 72db75e11b
commit d1f38a16b2

View file

@ -57,6 +57,7 @@ void LoopbackLinkProvider::onStop()
{ {
if (loopbackDeviceLink) { if (loopbackDeviceLink) {
delete loopbackDeviceLink; delete loopbackDeviceLink;
loopbackDeviceLink = 0;
} }
} }