On Thu, Sep 02, 2010 at 08:45:24AM -0400, Davidlohr Bueso wrote: > The 'obuf' variable is not being freed after usage and this includes > when SIGINTs occur, hence add some basic signal handling. Applied, thanks. I did some another changes to the code -- the exitbuf() function is called from atexit() and error messages are printed by err(). It seems (valgrind --leak-check=full --show-reachable=yes) that there is still a small leak in terminfo stuff. But I don't think we have to be so pedantic for so small command line util (kernel reclaiming all resources after process termination). Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html