projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8dd0eca
)
verify: add missing free(ptr);
author
Tomohiro Kusumi
<tkusumi@tuxera.com>
Fri, 26 May 2017 19:25:09 +0000
(22:25 +0300)
committer
Jens Axboe
<axboe@fb.com>
Fri, 26 May 2017 19:28:57 +0000
(13:28 -0600)
Signed-off-by: Tomohiro Kusumi <tkusumi@tuxera.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
verify.c
patch
|
blob
|
blame
|
history
diff --git
a/verify.c
b/verify.c
index cadfe9c32825d99f818ff879cbe67273c41cd15d..1c39fa2e877f14511f575bf847f14c55acdba634 100644
(file)
--- a/
verify.c
+++ b/
verify.c
@@
-271,6
+271,7
@@
static void dump_buf(char *buf, unsigned int len, unsigned long long offset,
fd = open(fname, O_CREAT | O_TRUNC | O_WRONLY, 0644);
if (fd < 0) {
perror("open verify buf file");
+ free(ptr);
return;
}