Strange, try using the string like this:
Also also try changing the string's name to something else because it's same as one the functions you have....not sure if it makes any difference but you can try.PHP Code:SERVERINFO_CL::sServerName
Printable View
Strange, try using the string like this:
Also also try changing the string's name to something else because it's same as one the functions you have....not sure if it makes any difference but you can try.PHP Code:SERVERINFO_CL::sServerName
:mad: Nope to both ideas
I dont understand either. For the life of me I can't figure it out. I have traced to putting anything in the string causes it, but I can't figure out why. If I rem the line I dont get the leak, I unrem them I get the leak.
Man this is starting to drive me crazy.
Some on suggested this:
This shouldn't cause a memory leak. Move the declaration of SI outside of main(). Is there a memory leak? If so, it isn't really a memory leak, it's just that VC++ memory functions collected the memory leak information too soon (before the global object was destroyed).
I did and I dont get the leak. Think its just bad info from the memory debuger?