Mercurial > vim
view src/alloc.h @ 8234:dc72f4a463e4 v7.4.1410
commit https://github.com/vim/vim/commit/42dd7aee41ffcc5afdbf9bb83d70e7123261cada
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Feb 23 22:50:12 2016 +0100
patch 7.4.1410
Problem: Leaking memory in cscope interface.
Solution: Free memory when no tab is found. (Christian Brabandt)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 23 Feb 2016 23:00: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;