Open bolognam opened 5 months ago
Use strdup for string safety.
strdup
@topolarity also saw that lib wasn't being handled properly, and that if this function doesn't finish then there's a memory leak.
lib
if this function doesn't finish then there's a memory leak.
I actually misunderstood and thought that we had an obligation to free the arguments passed into this function - We don't, so this is fine 👍
Use
strdup
for string safety.@topolarity also saw that
lib
wasn't being handled properly, and that if this function doesn't finish then there's a memory leak.