Skip to content
Snippets Groups Projects
Commit c6f85311 authored by John Marshall's avatar John Marshall
Browse files

Add ks_release() to kstring.h

Using this function is a more explicit way of transferring ownership
than just "foo = str.s"; the latter leaves room for readers to wonder
whether a subsequent "free(str.s)" has been forgotten.
parent 5bdc06d3
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment