diff options
author | oni-link <knil.ino@gmail.com> | 2015-08-06 14:31:53 +0200 |
---|---|---|
committer | oni-link <knil.ino@gmail.com> | 2015-08-21 10:53:31 +0200 |
commit | 250aca4f8938ded5bf7dfbc56904b4e696d219b1 (patch) | |
tree | e86d67130d76035bf65fba35c03c517b42e2c294 /scripts/genex_cmds.lua | |
parent | 0ec6a9c3c3f1fd6e76941895248c968b436581c7 (diff) | |
download | rneovim-250aca4f8938ded5bf7dfbc56904b4e696d219b1.tar.gz rneovim-250aca4f8938ded5bf7dfbc56904b4e696d219b1.tar.bz2 rneovim-250aca4f8938ded5bf7dfbc56904b4e696d219b1.zip |
terminal.c: Events in terminal_enter() should not free the terminal
It is possible for a processed event in the input loop of
terminal_enter() to destroy the terminal. But this is undetected by the
function and it still tries to use the freed terminal.
Use a reference count to delay the freeing of the terminal until
terminal_enter() returns.
Fixes #3112
Diffstat (limited to 'scripts/genex_cmds.lua')
0 files changed, 0 insertions, 0 deletions