Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Nov 14, 2016

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

The following changes since commit 206c546d6015fe3809b8e52ea95f56114b8e9f25:

rbd: fix crash with zero sized image (2016-11-12 08:36:23 -0700)

are available in the git repository at:

git://git.kernel.dk/fio.git master

for you to fetch changes up to 471bb52b2e75413d18e8def5bb7d301aab7541e9:

Fix memory leak on tmp_buf (2016-11-14 00:05:37 +0000)

----------------------------------------------------------------
Colin Ian King (1):
Fix memory leak on tmp_buf

 oslib/libmtd.c | 1 +
 1 file changed, 1 insertion(+)

---

Diff of recent changes:

oslib/libmtd.c +1 -0
index 5b22d6a..24e9db9 100644
@@ -1116,6 +1116,7 @@ static int legacy_auto_oob_layout(const struct mtd_dev_info *mtd, int fd,
 		len = mtd->oob_size - start;
 		memcpy(oob + start, tmp_buf + start, len);
 	}
+	free(tmp_buf);
 
 	return 0;
 }