projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe32e6c
)
fixed memory leak due to last change
author
Frank Mori Hess
<fmhess@speakeasy.net>
Tue, 30 Jan 2001 20:24:57 +0000
(20:24 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Tue, 30 Jan 2001 20:24:57 +0000
(20:24 +0000)
comedi/comedi_fops.c
patch
|
blob
|
history
diff --git
a/comedi/comedi_fops.c
b/comedi/comedi_fops.c
index 3357d75425c55345051c7dbff9f216c73614156e..cac5d2f2fec92db9bcc331dee8acd7686d29c229 100644
(file)
--- 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;
}