commit | 6abfd9b8ff344a684740452f16ddeaffb1df7d12 | [log] [download] |
---|---|---|
author | nicm <nicm> | Wed Aug 30 18:13:47 2017 +0000 |
committer | nicm <nicm> | Wed Aug 30 18:13:47 2017 +0000 |
tree | f1d1e004ff5061b62093d91e03bf46c6a453b622 | |
parent | 17cf1b21c6c30a2d7b8cf7d9a29f495a9b01c475 [diff] |
Instead of overloading the line clear function to mean free if background is default (8), introduce an explicit free function and use it where a free alone is needed. Likewise, use memmove directly rather than grid_move_lines where it makes sense. Based on a memory leak fix by Dan Aloni in GitHub issue 1051.