I have a C function that is called thousands of times and I have noticed that it is the only possible place for a memory leak. I have used Valgrind and Totalview\'s
No. A string literal has static storage duration and so its storage is reserved prior to the program startup and its lifetime is the entire execution of the program.