projects
/
blktrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c207e39
)
[PATCH] blktrace: bad alloc in sendfile() handler
author
Jens Axboe
<axboe@suse.de>
Wed, 15 Feb 2006 13:04:07 +0000
(14:04 +0100)
committer
Jens Axboe
<axboe@suse.de>
Wed, 15 Feb 2006 13:04:07 +0000
(14:04 +0100)
blktrace.c
patch
|
blob
|
blame
|
history
diff --git
a/blktrace.c
b/blktrace.c
index 3cecc1e6839f47547503bfcb899c2caaced76547..be9c9fda66339b8c59913063f733af6376246c04 100644
(file)
--- a/
blktrace.c
+++ b/
blktrace.c
@@
-541,7
+541,6
@@
static int get_subbuf_sendfile(struct thread_information *tip,
struct tip_subbuf *ts = malloc(sizeof(*ts));
struct stat sb;
- ts->buf = malloc(buf_size);
ts->max_len = maxlen;
ts->buf = NULL;