Mercurial > vim
view src/testdir/Make_amiga.mak @ 24448:faac16c365b6 v8.2.2764
patch 8.2.2764: memory leak when default function argument is allocated
Commit: https://github.com/vim/vim/commit/b47bed2f7ada4dfae78f76f27473b83507e40315
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Apr 14 17:06:43 2021 +0200
patch 8.2.2764: memory leak when default function argument is allocated
Problem: Memory leak when default function argument is allocated.
Solution: Free the expression result.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 14 Apr 2021 17:15:05 +0200 |
parents | e529f06721f9 |
children |
line wrap: on
line source
# # Makefile to run all tests for Vim, on Amiga # # Requires "rm", "csh" and "diff"! VIMPROG = /vim default: nongui include Make_all.mak SCRIPTS = $(SCRIPTS_TINY_OUT) .SUFFIXES: .in .out .res .vim nongui: /tmp $(SCRIPTS) csh -c echo ALL DONE clean: csh -c \rm -rf *.out Xdir1 Xfind XfakeHOME Xdotest test.ok viminfo .in.out: copy $*.ok test.ok $(VIMPROG) -u amiga.vim -U NONE --noplugin --not-a-term -s dotest.in $*.in diff test.out $*.ok rename test.out $*.out -delete X#? ALL QUIET -delete test.ok # Create a directory for temp files /tmp: makedir /tmp # Manx requires all dependencies, but we stopped updating them. # Delete the .out file(s) to run test(s).