]> err.no Git - util-linux/commit
ul: fix memory leak.
authorDavidlohr Bueso <dave@gnu.org>
Mon, 30 Aug 2010 02:03:32 +0000 (22:03 -0400)
committerKarel Zak <kzak@redhat.com>
Fri, 17 Sep 2010 08:02:36 +0000 (10:02 +0200)
commit4727b16944cd67f0c9ba1acaba301ac97648a001
treee85125dac0a320a485d742c0ae87afd484a4e21b
parentad0ad79ae9b2bf5a340838234c6b9ab2962d0477
ul: fix memory leak.

The 'obuf' variable is not being freed after usage and this includes
when SIGINTs occur, hence add some basic signal handling.

[kzak@redhat.com - remove if-before-free ]

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
text-utils/ul.c