Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » exit() -> heap leaks detected.
Re: exit() -> heap leaks detected. [message #18000 is a reply to message #17999] Sat, 06 September 2008 00:07 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13976
Registered: November 2005
Ultimate Member
I think it is quite obvious:

How do you expect the Vector destructor (of *local* variable) being called? The control never gets to the end of block....

The moral of the story is: never call "exit" in C++ and expect clean exit...

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: U++ suggestions
Next Topic: RectTracker & MaxRect
Goto Forum:
  


Current Time: Sat May 11 18:15:15 CEST 2024

Total time taken to generate the page: 0.04061 seconds