U++ framework
Do not panic. Ask here before giving up.

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: Thu Jun 04 07:59:39 GMT+2 2026

Total time taken to generate the page: 0.00626 seconds