summaryrefslogtreecommitdiff
path: root/fifo.h
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2007-05-16 09:26:23 +0200
committerJens Axboe <jens.axboe@oracle.com>2007-05-16 09:26:23 +0200
commit38470f85fa4acddab4339db9c8805a19bc87578e (patch)
tree2fb239bdd115ce33af255cb916511d73fb4bac1d /fifo.h
parente28875637094451a3c5ec4071f964c1a02dd8f5b (diff)
downloadfio-38470f85fa4acddab4339db9c8805a19bc87578e.tar.gz
fio-38470f85fa4acddab4339db9c8805a19bc87578e.tar.bz2
Fix fifo leak
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'fifo.h')
-rw-r--r--fifo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fifo.h b/fifo.h
index 6a9115d4..cfacea99 100644
--- a/fifo.h
+++ b/fifo.h
@@ -28,6 +28,7 @@ struct fifo {
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)
{