job: No longer free the job data. It's now done by the exit callback

This commit is contained in:
Thiago de Arruda
2014-06-26 15:55:20 -03:00
parent c19b8404a7
commit bce4c365bc
3 changed files with 2 additions and 7 deletions

View File

@@ -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)