4 ms·
Woo hoo, thanks for the tip! But I still need to worry about creating a memory leak with this. :(
by Elrac 11y ago
Woo hoo, thanks for the tip!
But I still need to worry about creating a memory leak with this. :(
- Merovius 11y agoAlso, asprintf is a GNU-extension, so if you want to write portable code, it's a no-go (as for everything usefull in C).
- Elrac 11y agoThankfully, I'm not doing much C any more. Those hoity-toity hand-holding languages have spoiled me, and now I don't want to be bothered about memory management and other "trivia." :)