mirror of
https://github.com/neovim/neovim.git
synced 2025-09-13 14:58:18 +00:00
job: No longer free the job data. It's now done by the exit callback
This commit is contained in:
@@ -19085,6 +19085,7 @@ static void on_job_stderr(RStream *rstream, void *data, bool eof)
|
||||
static void on_job_exit(Job *job, void *data)
|
||||
{
|
||||
apply_job_autocmds(job, data, "exit", NULL);
|
||||
free(data);
|
||||
}
|
||||
|
||||
static void on_job_data(RStream *rstream, void *data, bool eof, char *type)
|
||||
|
Reference in New Issue
Block a user