xfs: fix memory leak in xlog_recover_add_to_trans
author[email protected] <[email protected]>
Fri, 27 Sep 2013 14:00:55 +0000 (09:00 -0500)
committerBen Myers <[email protected]>
Mon, 30 Sep 2013 22:52:43 +0000 (17:52 -0500)
commit519ccb81ac1c8e3e4eed294acf93be00b43dcad6
tree05d11ca11b2e0011419122fc49d2ee8eac761fb4
parent367993e7c6428cb7617ab7653d61dca54e2fdede
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: Mark Tinguely <[email protected]>
Reviewed-by: Eric Sandeen <[email protected]>
Signed-off-by: Ben Myers <[email protected]>
fs/xfs/xfs_log_recover.c