projects
/
blktrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22cd0c0
)
[PATCH] blktrace: need to free ts->buf for networked transfer
author
Jens Axboe
<axboe@suse.de>
Tue, 14 Feb 2006 13:05:59 +0000
(14:05 +0100)
committer
Jens Axboe
<axboe@suse.de>
Tue, 14 Feb 2006 13:05:59 +0000
(14:05 +0100)
blktrace.c
patch
|
blob
|
blame
|
history
diff --git
a/blktrace.c
b/blktrace.c
index a79ad6a844075f4fe8e653711c438d8b24588e6a..f34588fb2a87eb331cba32b4a29eaf8873d6c4f8 100644
(file)
--- a/
blktrace.c
+++ b/
blktrace.c
@@
-645,6
+645,7
@@
static int flush_subbuf_net(struct thread_information *tip,
if (write_data_net(net_out_fd, ts->buf, ts->len))
return 1;
+ free(ts->buf);
free(ts);
return 0;
}