free string, memory leak plugged