]> 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>
Wed, 12 Mar 2025 13:29:10 +0000 (14:29 +0100)
commit2e6cc76741a580b9338ab679cf96375eb1084e92
tree74b11dda2c30cf92918290625977af8d184cbf99
parent6e2127384ba267119311437b233e413e16ef8721
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>
liblastlog2/src/tests/tst_write_read_user.c