projects
/
binject.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0af7a2
)
Fix buggy early free of bc
author
Jens Axboe
<jaxboe@fusionio.com>
Fri, 8 Oct 2010 10:03:33 +0000
(12:03 +0200)
committer
Jens Axboe
<jaxboe@fusionio.com>
Fri, 8 Oct 2010 10:03:33 +0000
(12:03 +0200)
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
main.c
patch
|
blob
|
blame
|
history
diff --git
a/main.c
b/main.c
index 5831cd55621959df8a69d26395ecd597e94c147c..012a6804d2eb917ae0d302c70e2d31f51f145d47 100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-504,6
+504,7
@@
static ssize_t b_dev_write(struct file *file, const char __user *buf,
done += sizeof(struct b_user_cmd);
buf += sizeof(struct b_user_cmd);
total--;
+ bc = NULL;
}
if (bc)