Hallo, Brian Weed wrote:
The following change would avoid the leak: const char * getSome() { return "some string"; }
-alex (http://www.ventonegro.org/)