]> git.ipfire.org Git - thirdparty/util-linux.git/commit
rev: memory leak fix
authorSami Kerola <kerolasa@iki.fi>
Sat, 2 Apr 2011 16:11:08 +0000 (18:11 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 6 Apr 2011 08:45:02 +0000 (10:45 +0200)
commit2226064c52af6ae5d5c8871056aede10a7d14b97
tree40b65f1022660ed1f9c3c211ccc4ea5db2ac23bb
parent099bce7f5d607bb8012faf4dc9fe6e034532eefe
rev: memory leak fix

Moving the malloc out of loop will make leak to disappear, and
the command might run few jiffie quicker when there are 1+N
arguments.

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