]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
libxfs: fix double free in libxfs_alloc_file_space
authorDave Chinner <david@fromorbit.com>
Wed, 29 Jun 2016 01:13:02 +0000 (11:13 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 29 Jun 2016 01:13:02 +0000 (11:13 +1000)
commit3fbf002a6eb62841a3fa05bc2ce98c98722b660c
tree5e5d76fce00640dab14b63d047a9a4a6154d917b
parent87307113f6f6dc3da91d0d01c5431c008ceaac77
libxfs: fix double free in libxfs_alloc_file_space

When porting the transaction alocation interface to userspace
(commit 9074815), I missed a change in libxfs_alloc_file_space() that
could lead to a double free of a transaction pointer in an error path.
Coverity spotted it, so fix it.

Coverity-id: 1362811
Signed-off-by: Dave Chinner <david@fromorbit.com>
libxfs/util.c