Why wouldn't they? They're not on the stack, they're part of the program's image. Memory doesn't just free itself.
In fact, quite the opposite problem would occur had the OP used malloc or new to create the returned string: a memory leak.
In reply to Re^2: Inline::C demonstration for C programmers
by ikegami
in thread Inline::C demonstration for C programmers
by missingthepoint
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |