]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: fix memory leak in xlog_recover_add_to_trans
authortinguely@sgi.com <tinguely@sgi.com>
Fri, 27 Sep 2013 14:00:55 +0000 (09:00 -0500)
committerBen Myers <bpm@sgi.com>
Fri, 4 Oct 2013 18:56:03 +0000 (13:56 -0500)
commit94a83b87530369cd2db40465a8e201a33f2228f8
tree05d11ca11b2e0011419122fc49d2ee8eac761fb4
parentab30b71d59e75604976da26d83e739d0f819fb8a
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 <tinguely@sgi.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
(cherry picked from commit 519ccb81ac1c8e3e4eed294acf93be00b43dcad6)
fs/xfs/xfs_log_recover.c