aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/vim.c
diff options
context:
space:
mode:
authorScott Prager <splinterofchaos@gmail.com>2014-10-27 11:58:21 -0400
committerThiago de Arruda <tpadilha84@gmail.com>2014-10-28 14:09:28 -0300
commitd10e83fec213abf884b1ee96336d2a2acddf8234 (patch)
tree8580e63ccbef691265ddf874e6a35515df77cd5f /src/nvim/api/vim.c
parent7797991ba50c0d76f7750cb821dca085a1f40c7e (diff)
downloadrneovim-d10e83fec213abf884b1ee96336d2a2acddf8234.tar.gz
rneovim-d10e83fec213abf884b1ee96336d2a2acddf8234.tar.bz2
rneovim-d10e83fec213abf884b1ee96336d2a2acddf8234.zip
job/valgrind: Fix invalid reads/missing free.
The JobEvent structure may refer to a job after it has been freed. Apply @tarruda's patch to extract the job data before pushing the event. Also, fix the type, "data" -> "job", in on_job_exit() and free the job name in the last job event.
Diffstat (limited to 'src/nvim/api/vim.c')
0 files changed, 0 insertions, 0 deletions