Hi,
while making cleanup() call in capture.c assertion fail at the time it uses the call Buffer_getUserPtr() inside cleanup().
i checked the capture buffer pointers at the time of capture create and at the time of cleanup called, both are same pointers.
inside some how the capture buffer pointer becomes NULL it seems.
Buffer.c:255: Buffer_getUserPtr: Assertion `hBuf' failed.
Capture.c --> cleanup --> capBufPtr = Buffer_getUserPtr(hCapBuf);