ossp-pkg/sio/al.c 1.7 -> 1.8
--- al.c 2002/10/14 15:41:37 1.7
+++ al.c 2002/10/14 15:44:03 1.8
@@ -1,4 +1,3 @@
-#include <assert.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
@@ -354,8 +353,6 @@
static
void dispose_chunk(al_t *al, al_chunk_t *alc)
{
- assert(NEXT(alc,chunks) == NULL && PREV(alc,chunks) == NULL);
-
--alc->buf->usecount;
if (alc->buf->usecount == 0)
dispose_buffer(al,alc->buf);
|
|