From: Tomohiro Kusumi <tkusumi@xxxxxxxxxx> Signed-off-by: Tomohiro Kusumi <tkusumi@xxxxxxxxxx> --- verify.c | 1 + 1 file changed, 1 insertion(+) diff --git a/verify.c b/verify.c index cadfe9c..1c39fa2 100644 --- 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; } -- 2.9.4 -- To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html