Message ID | 4018590a-34ba-9744-366c-a66682824f11@huawei.com |
---|---|
State | Superseded |
Headers | show |
Series | e2fsprogs: some bugfixs and some code cleanups | expand |
diff --git a/lib/ext2fs/tdb.c b/lib/ext2fs/tdb.c index 5091b128..ddfcf130 100644 --- a/lib/ext2fs/tdb.c +++ b/lib/ext2fs/tdb.c @@ -2186,6 +2186,7 @@ int tdb_transaction_recover(struct tdb_context *tdb) rec.data_len, 0) == -1) { TDB_LOG((tdb, TDB_DEBUG_FATAL, "tdb_transaction_recover: failed to read recovery data\n")); tdb->ecode = TDB_ERR_IO; + free(data); return -1; }