[haiku-commits] Re: haiku: hrev47664 - src/kits/tracker headers/private/tracker

  • From: pulkomandy <pulkomandy@xxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 10 Aug 2014 22:38:57 +0200

>   This seems to happen when BList got converted to a BObjectList.
>   The latter frees items when removing them by default while the former
>   does not.

I don't know how many time we will have to repeat this: no, by default
it doesn't. You need to explicitly enable "owning" mode in the
constructor. Most issues with BObjectList in Coverity are thus false
positive because we almost never use that flag.

-- 
Adrien.

Other related posts: