Mercurial > vim
view src/Make_morph.mak @ 15671:0a4dfbb312ce v8.1.0843
patch 8.1.0843: memory leak when running "make test_cd"
commit https://github.com/vim/vim/commit/e0de2164f62a1736cdc64dbf804b77db8af90c10
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 29 20:17:28 2019 +0100
patch 8.1.0843: memory leak when running "make test_cd"
Problem: Memory leak when running "make test_cd".
Solution: Free the stack element when failing. (Dominique Pelle,
closes #3877)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 29 Jan 2019 20:30:14 +0100 |
parents | 746b95fd25ad |
children | 2d941023bd2f |
line wrap: on
line source
# # Makefile for VIM, using MorphOS SDK (gcc 2.95.3) # CFLAGS = -c \ -pipe \ -O2 \ -Wall \ \ -DNO_ARP \ -DUSE_TMPNAM \ \ -I proto \ \ -noixemul PRG = Vim LIBS = -noixemul -s CC = gcc LD = gcc OBJDUMP = objdump RM = rm .c.o: ${CC} ${CFLAGS} $< -o $@ SRC = arabic.c \ autocmd.c \ blowfish.c \ buffer.c \ charset.c \ crypt.c \ crypt_zip.c \ dict.c \ diff.c \ digraph.c \ edit.c \ eval.c \ evalfunc.c \ ex_cmds.c \ ex_cmds2.c \ ex_docmd.c \ ex_eval.c \ ex_getln.c \ farsi.c \ fileio.c \ fold.c \ getchar.c \ hardcopy.c \ hashtab.c \ json.c \ list.c \ main.c \ mark.c \ mbyte.c \ memfile.c \ memline.c \ menu.c \ message.c \ misc1.c \ misc2.c \ move.c \ normal.c \ ops.c \ option.c \ os_amiga.c \ popupmnu.c \ quickfix.c \ regexp.c \ screen.c \ search.c \ sha256.c \ sign.c \ spell.c \ spellfile.c \ syntax.c \ tag.c \ term.c \ ui.c \ undo.c \ userfunc.c \ version.c \ window.c \ OBJ = $(SRC:.c=.o) $(PRG): $(OBJ) ${LD} -o $(PRG) $(OBJ) $(LIBS) dump: $(PRG) $(OBJDUMP) --reloc --disassemble-all $(PRG) > $(PRG).s clean: $(RM) -fv $(OBJ) $(PRG) $(PRG).s