Commit 9b3b77fe authored by's avatar Committed by Ben Myers
Browse files

xfs: fix memory leak in xlog_recover_add_to_trans

Free the memory in error path of xlog_recover_add_to_trans().
Normally this memory is freed in recovery pass2, but is leaked
in the error path.
Signed-off-by: default avatarMark Tinguely <>
Reviewed-by: default avatarEric Sandeen <>
Signed-off-by: default avatarBen Myers <>

(cherry picked from commit 519ccb81)
parent 6d313498
......@@ -1585,6 +1585,7 @@ xlog_recover_add_to_trans(
"bad number of regions (%d) in inode log format",
return XFS_ERROR(EIO);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment