← Back to team overview

kaliveda-dev team mailing list archive

[Bug 1104426] Re: Minor memory leak in KVMultiDetArray::DetectEvent

 

** Branch linked: lp:kaliveda

-- 
You received this bug notification because you are a member of KaliVeda
Development Team, which is subscribed to KaliVeda.
https://bugs.launchpad.net/bugs/1104426

Title:
  Minor memory leak in KVMultiDetArray::DetectEvent

Status in KaliVeda data analysis framework:
  Fix Committed
Status in KaliVeda 1.8 series:
  Fix Committed

Bug description:
  I've noticed a small memory leak coming from multiple "new"
  assignments of KVMultiDetArray::DetectEvent::un with only a single
  destruction.

  Schematic:

  while ((part = event->GetNextParticle())) {

      if(fFilterType == kFilterType_Full) un = new KVNameValueList();
  }

  delete un;

To manage notifications about this bug go to:
https://bugs.launchpad.net/kaliveda/+bug/1104426/+subscriptions


References