Jump to content
  • Advertisement
Sign in to follow this  
GraphicsBas

std::ofstream memory leak

This topic is 4831 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi there, Like the title says; When I'm using std::ofstream in MFC, it always reports memoryleaks, does anybody have any idea what might caused this and how to prefent it? GBS

Share this post


Link to post
Share on other sites
Advertisement
Go read the STL faq on sgi's site. I think it says somethign about memory leaks.

Share this post


Link to post
Share on other sites
How are you doing your leak tracking? It could simply be that you are trying to detect leaks before the ofstream actually goes out of scope.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!