Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Memory Leaks 2

Years of Service
User Offline
Joined: 8th Feb 2009
Location: A Mile High
Posted: 13th Mar 2012 01:21 Edited at: 13th Mar 2012 01:25
I have been learning C++ for about 6 months now. While going through old threads, I came across this one (Memory Leaks). By changing _CrtDumpMemoryLeaks(); to int _CrtDumpMemoryLeaks(void); I got it compiled under debug. So here is my question, if I don’t see “Detected memory leaks!” in the output window is it safe to assume that there is no leak. Or is there something I’m missing.

Mister Fuzzy
Years of Service
User Offline
Joined: 27th Feb 2011
Location: XNA
Posted: 15th Mar 2012 06:04
I'd say it would be safe to assume that there are no memory leaks. After all, there isn't much complexity to that code. Try it on something more complex (i.e. loads more resources, makes more calculations, ect.).

Tunnel vision yet? Have a carrot!

Login to post a reply

Server time is: 2020-02-26 07:53:54
Your offset time is: 2020-02-26 07:53:54