Thank you everyone for answers. Either of #undef free or __mingw_str_free(s); indeed work as expected (don't die, do de-allocate). In the end, asprintf brings more mess than convenience in this environment, so I'd rather revert to manual allocation/concatenation etc. :)
In reply to Re^2: Inline::C & Strawberry: can't free a buffer allocated with asprintf
by vr
in thread Inline::C & Strawberry: can't free a buffer allocated with asprintf
by vr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |