Just checking I am not being stupid (even with decades of C coding experience). There is not variant of %s in printf() that frees the argument after use is there? (gcc) So you can have args that are functions that return malloc'd strings (e.g. escaping functions).
Private server for RevK's relatives and a few close friends.