@stupid-boy Free what buffer?  They're already static strings chilling in .data.
@Karlson2k I'm not concerned about performance. I'm concerned about ugly and unnecessary .c_str() calls.