Commit Graph
1 Commits
Author SHA1 Message Date
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