On Sun, 23 Aug 2009, I wrote: > pa_log_debug("Requested to rewind %lu bytes.", (unsigned long) rewind_nbytes); > rewind_nbytes = PA_MIN(u->memchunk.length, rewind_nbytes); > u->memchunk.length -= rewind_nbytes; > + if (!u->memchunk.length) > + pa_memblock_unref(u->memchunk.memblock); This patch is still wrong, so I'll send it again (sometimes it tries to unref a null memblock). Sorry for the noise. Finn