From d3a2c8aa133817ed63c49e32869a44660c30fc3e Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Wed, 15 Feb 2006 14:04:07 +0100 Subject: [PATCH] [PATCH] blktrace: bad alloc in sendfile() handler --- blktrace.c | 1 - 1 file changed, 1 deletion(-) diff --git a/blktrace.c b/blktrace.c index 3cecc1e..be9c9fd 100644 --- 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; -- 2.25.1