Commit Graph
3 Commits
Author SHA1 Message Date
André Althaus 01fe9c3976 Fix memory leak for rootDirectory variable
The memory for the root directory path is not freed.
2015-06-03 21:48:26 +02:00
André Althaus 33151c64d2 Fix memory leak for compiler constants
The ownership for constants is not transfered to the new function so the
constant buffer must be cleared when the compiler is finished.
2015-06-03 21:47:16 +02:00
André Althaus 0add2195f3 realloc is not a valid implementation for the wren reallocation function
The behavior of realloc for size == 0 is implementation defined.
It can return a non NULL pointer which must not be dereferenced but nether
the less must be freed. When calling the wren reallocation function with
size == 0 the memory pointed to ptr must be freed and NULL returned.
2015-06-02 20:57:41 +02:00