Fix memleak in iosunit

parent 6fe0ff91
......@@ -197,8 +197,11 @@ static OSStatus au_read_cb (
putq(&d->rq,rm);
ms_mutex_unlock(&d->mutex);
d->readTimeStamp.mSampleTime+=ioData->mBuffers[0].mDataByteSize/(d->bits/2);
}else ms_warning("AudioUnitRender() failed: %s (%li)", FormatError(err), err);
}
}else {
ms_warning("AudioUnitRender() failed: %s (%li)", FormatError(err), err);
freemsg(rm);
}
}
return err;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment