asprintf is just one of many functions in C which will allocate memory and expect the caller to free it, so this is bound to happen again with other functions. Using __mingw_str_free() will cause portability issues.
In reply to Re^3: Inline::C & Strawberry: can't free a buffer allocated with asprintf
by bliako
in thread Inline::C & Strawberry: can't free a buffer allocated with asprintf
by vr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |