]> git.ipfire.org Git - thirdparty/util-linux.git/commit
liblastlog2: (test) fix memory leak in failed test [coverity scan]
authorKarel Zak <kzak@redhat.com>
Wed, 12 Mar 2025 13:29:10 +0000 (14:29 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 17 Mar 2025 11:21:53 +0000 (12:21 +0100)
commit3cd7b92ce62c2b510563615d8ceebf04716e70ab
treefcfd61df8a2e4129a8e38390169a628f41030df5
parentd362642d1ff65fffc27bf6467616949ce3741918
liblastlog2: (test) fix memory leak in failed test [coverity scan]

This is just a cosmetic change to satisfy the static analyzer. The
free-before-exit is unnecessary, but in this case (library test), it's
better.

Signed-off-by: Karel Zak <kzak@redhat.com>
(cherry picked from commit 2e6cc76741a580b9338ab679cf96375eb1084e92)
liblastlog2/src/tests/tst_write_read_user.c