commit | 38470f85fa4acddab4339db9c8805a19bc87578e | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Wed May 16 09:26:23 2007 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Wed May 16 09:26:23 2007 +0200 |
tree | 2fb239bdd115ce33af255cb916511d73fb4bac1d | |
parent | e28875637094451a3c5ec4071f964c1a02dd8f5b [diff] [blame] |
Fix fifo leak Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/fifo.h b/fifo.h index 6a9115d..cfacea9 100644 --- a/fifo.h +++ b/fifo.h
@@ -28,6 +28,7 @@ struct fifo *fifo_alloc(unsigned int); unsigned int fifo_put(struct fifo *, void *, unsigned int); unsigned int fifo_get(struct fifo *, void *, unsigned int); +void fifo_free(struct fifo *); static inline unsigned int fifo_len(struct fifo *fifo) {