Mercurial > vim
view runtime/syntax/rcslog.vim @ 20659:3437bf2ce2d4 v8.2.0883
patch 8.2.0883: memory leak in test 49
Commit: https://github.com/vim/vim/commit/5fbf3bc3f9d007ab91eb005f9e3da6570992cb43
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jun 1 21:13:11 2020 +0200
patch 8.2.0883: memory leak in test 49
Problem: Memory leak in test 49.
Solution: Free "sfile" from the exception.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 01 Jun 2020 21:15:03 +0200 |
parents | 46763b01cd9a |
children |
line wrap: on
line source
" Vim syntax file " Language: RCS log output " Maintainer: Joe Karthauser <joe@freebsd.org> " Last Change: 2001 May 09 " quit when a syntax file was already loaded if exists("b:current_syntax") finish endif syn match rcslogRevision "^revision.*$" syn match rcslogFile "^RCS file:.*" syn match rcslogDate "^date: .*$" " Define the default highlighting. " Only when an item doesn't have highlighting yet hi def link rcslogFile Type hi def link rcslogRevision Constant hi def link rcslogDate Identifier let b:current_syntax = "rcslog" " vim: ts=8