[haiku-development] Re: Pairs

  • From: Michael Pfeiffer <michael.w.pfeiffer@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 24 Apr 2008 19:14:23 +0200

BTW who has added the delete statement and the comment in PairsWindow::MessageReceived()?


        delete fPairComparing;
                // message of message runner might not have arrived
                // yet, so it is deleted here to prevent any leaking
                // just in case

When that code path is reached it can be asserted that fPairComparing is always NULL.

- Michael


Other related posts: