Closed alexk7 closed 10 years ago
The code use a glibc extension of the realpath function by passing NULL as the second argument. In this case, the function allocate a new buffer with malloc and it should be freed with free.
Hi @alexk7,
link to the code you refer?
https://github.com/konteck/wpp/blob/master/web%2B%2B.hpp#L190
The code use a glibc extension of the realpath function by passing NULL as the second argument. In this case, the function allocate a new buffer with malloc and it should be freed with free.