clibs / file

File utilities
9 stars 2 forks source link

memory leaks in file_read #2

Open fbstj opened 10 years ago

fbstj commented 10 years ago

should probably free the allocated memory before returning NULLs

tj commented 10 years ago

oops yeah for sure, I had just copied this over from another project using it for a few bootstrapping tasks that effectively leaked by design anyway