ack/lang/m2/comp
George Koehler 229b80a004 Free buf in GetFile().
aprintf() returns a const char *; the assignment to char * caused both
clang and gcc to warn of the dropped const.

Commit 893471a introduced a tiny memory leak, because GetFile()
stopped freeing buf.  The const return type of aprintf() suggests that
the buffer must not be freed.

Now use Malloc() to allocate the buffer and free() to free it.  This
also checks if we are out of memory, because Malloc() does the check
and aprintf() currently doesn't.
2017-11-13 21:34:31 -05:00
..
BigPars
build.lua
casestat.xc
char.tab
chk_expr.c
chk_expr.h
class.h
code.c
cstoper.c
debug.h
declar.g
def.c
def.xh
defmodule.c
desig.c
desig.h
em_m2.6
enter.c
error.c
expression.g
f_info.h
idf.c
idf.h
input.c
input.h
LLlex.c
LLlex.h
LLmessage.c
lookup.c
main.c
main.h
make.allocd
make.hfiles
make.next
make.parameters
make.tokcase
make.tokfile
misc.c
misc.h
modula-2.1
node.c
node.xh
options
options.c
program.g
proto.main
proto.make
real.xh
scope.h
scope.xc
SmallPars
stab.c
standards.h
statement.g
SYSTEM.h
tmpvar.xc
tokenname.c
tokenname.h
type.c
type.xh
typequiv.c
walk.c
walk.h
warning.h