ack/lang
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
..
a68s Distributions are a pain --- let's not bother any more. Instead, we just tag 2016-09-02 23:00:38 +02:00
b Don't use '-' in option string to getopt(). 2017-10-29 23:25:07 -04:00
basic Merge from trunk. 2017-08-06 10:42:16 +02:00
cem strcpy() is in <string.h> 2017-11-13 17:57:02 -05:00
fortran Distributions are a pain --- let's not bother any more. Instead, we just tag 2016-09-02 23:00:38 +02:00
m2 Free buf in GetFile(). 2017-11-13 21:34:31 -05:00
occam Don't define functions called itoa(), because this causes problems on platforms 2017-07-23 21:19:07 +02:00
pc Silence warning about pointer cast to int. 2017-11-13 20:58:57 -05:00
build.lua We can build our first C file. 2016-08-07 21:56:53 +02:00