]> git.ipfire.org Git - thirdparty/util-linux.git/commit
more: fix double free crash
authorSami Kerola <kerolasa@iki.fi>
Fri, 21 Feb 2014 10:17:11 +0000 (10:17 +0000)
committerKarel Zak <kzak@redhat.com>
Fri, 21 Feb 2014 12:45:32 +0000 (13:45 +0100)
commit5fdd35070ceb79589d52fa247d1b359bd2bdc471
tree75bb2f72283aed5464fe269925e23c3dd5133a2d
parent4368e3e68736b518388e8cd24754dbc0f7e6685b
more: fix double free crash

Commit b9579f1f44b46c9f12f1e01b01c02d82ae1cf728 moved fclose() to
checkf(), but missed removing file closure in magic().  Ironically the
cause of regression is in previous commit message.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
text-utils/more.c