]> git.ipfire.org Git - thirdparty/util-linux.git/commit
rev: Avoid calling free in a signal handler
authorTobias Stoeckmann <tobias@stoeckmann.org>
Mon, 3 Oct 2016 20:05:46 +0000 (22:05 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 6 Oct 2016 12:56:39 +0000 (14:56 +0200)
commit2571cf0f9bfa769bdf9c8fba25684fa0330a2b57
treea8130ee6bf26ed5218a0b9db185717d69bc9aa51
parente8c20678f3700105ea9299ad481ce3d70419bb9e
rev: Avoid calling free in a signal handler

free() is not a safe function for a signal handler. The next
line calls _exit() anyway, so there is no need for resource
management.
text-utils/rev.c