Hi MatsA,
Why would this leak? 's' will be destroyed once it goes out of scope. I would imagine the destructor of the CString would clean up any memory allocated by the object. The Step object reference you have may have to be destoryed. Are you encountering memory problems?
Bob