From ffe47064b8e8290595ce4af983559cd85be6c5f1 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Tue, 30 Jan 2001 20:24:57 +0000 Subject: [PATCH] fixed memory leak due to last change --- comedi/comedi_fops.c | 1 + 1 file changed, 1 insertion(+) diff --git a/comedi/comedi_fops.c b/comedi/comedi_fops.c index 3357d754..cac5d2f2 100644 --- a/comedi/comedi_fops.c +++ b/comedi/comedi_fops.c @@ -1677,6 +1677,7 @@ static int comedi_close_v22(struct inode *inode,struct file *file) s = dev->subdevices + dev->write_subdev; s->mmap_count -= cfp->write_mmap_count; } + kfree(cfp); return 0; } -- 2.26.2