Mercurial > vim
view src/alloc.h @ 8186:5fed86dac210 v7.4.1386
commit https://github.com/vim/vim/commit/23c463a157b4f5585ad85efc9f453ffc09c245c3
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Feb 22 11:39:27 2016 +0100
patch 7.4.1386
Problem: When the Job exit callback is invoked, the job may be freed too
soon. (Yasuhiro Matsumoto)
Solution: Increase refcount.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 22 Feb 2016 11:45:05 +0100 |
parents | 87e607fb6853 |
children | 553a4c8dd796 |
line wrap: on
line source
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. */ /* * alloc.h: enumeration of alloc IDs. * Each entry must be on exactly one line, GetAllocId() depends on that. */ typedef enum { aid_none = 0, aid_qf_dirname_start, aid_qf_dirname_now, aid_qf_namebuf, aid_qf_errmsg, aid_qf_pattern, aid_last, } alloc_id_T;