]> git.tuebingen.mpg.de Git - paraslash.git/commit
i9e: Fix memory leak in clear_bottom_line().
authorAndre Noll <maan@systemlinux.org>
Sat, 22 Jun 2013 15:20:15 +0000 (17:20 +0200)
committerAndre Noll <maan@systemlinux.org>
Sat, 22 Jun 2013 15:20:15 +0000 (17:20 +0200)
commit1afc43be9a585ce634de84764f171e4478ec54be
tree49ec8f6746e8171db3cce315b510b2f0208a2fa4
parentbb5101625c76c3bfa5fe516e6e669a43108ff597
i9e: Fix memory leak in clear_bottom_line().

In clear_bottom_line() we call readline's rl_copy_text() which
allocates a buffer for the given range of the current input line. But
we never free this buffer, which results in a memory leak. This patch
plugs the leak.
interactive.c