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 » Developing U++ » UppHub » Docking: Bug Fix:
Re: Docking: Bug Fix: [message #27402 is a reply to message #27396] Thu, 15 July 2010 16:23 Go to previous messageGo to previous message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
I still can't reproduce it.

The problem is:
-The fix you posted should have no effect, since tabcont will already be NULL.
-Calling 'delete' on a NULL pointer is valid in C++ so that should not cause a problem.
-If it's calling a delete on a garbage (wrong/random) pointer I can see how that would be a problem, although being in a Ptr object should protect against that, but in that case your fix also shouldn't make any difference since the garbage must be being assigned after the NULL initialisation.

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: BUGFIX: ExpanderFrame
Next Topic: Docking - Name clash with opencascade library
Goto Forum:
  


Current Time: Sun May 12 23:22:12 CEST 2024

Total time taken to generate the page: 0.02598 seconds