comparison src/proto/channel.pro @ 9143:b9c1a397a8a6 v7.4.1855

commit https://github.com/vim/vim/commit/655da31a18ef3f888acf10e68b438e2a851f7b14 Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 28 22:22:34 2016 +0200 patch 7.4.1855 Problem: Valgrind reports memory leak for job that is not freed. Solution: Free all jobs on exit. Add test for failing job.
author Christian Brabandt <cb@256bit.org>
date Sat, 28 May 2016 22:30:06 +0200
parents d4606ae170aa
children 4b55d8e162d4
comparison
equal deleted inserted replaced
9142:2afd9e149d88 9143:b9c1a397a8a6
48 int channel_get_timeout(channel_T *channel, int part); 48 int channel_get_timeout(channel_T *channel, int part);
49 void clear_job_options(jobopt_T *opt); 49 void clear_job_options(jobopt_T *opt);
50 void free_job_options(jobopt_T *opt); 50 void free_job_options(jobopt_T *opt);
51 int get_job_options(typval_T *tv, jobopt_T *opt, int supported); 51 int get_job_options(typval_T *tv, jobopt_T *opt, int supported);
52 channel_T *get_channel_arg(typval_T *tv, int check_open, int reading, int part); 52 channel_T *get_channel_arg(typval_T *tv, int check_open, int reading, int part);
53 void job_free_all(void);
53 int set_ref_in_job(int copyID); 54 int set_ref_in_job(int copyID);
54 void job_unref(job_T *job); 55 void job_unref(job_T *job);
55 int free_unused_jobs_contents(int copyID, int mask); 56 int free_unused_jobs_contents(int copyID, int mask);
56 void free_unused_jobs(int copyID, int mask); 57 void free_unused_jobs(int copyID, int mask);
57 void job_set_options(job_T *job, jobopt_T *opt); 58 void job_set_options(job_T *job, jobopt_T *opt);