4 ms·
Shouldn't this PR also use `free` on the duped string before returning? (I never use C so probably missing something but just based on the docs of strdupa...)
by sinsterizme 5y ago
Shouldn't this PR also use `free` on the duped string before returning? (I never use C so probably missing something but just based on the docs of strdupa...)
- deleted 5y ago[deleted]
- rtldg 5y agoThe variable p is now declared with "_cleanup_free_" which is using some compiler cleanup/destructor attribute stuff to run free
- sinsterizme 5y agoah okay, thank you :)