← Back to team overview

kaliveda-dev team mailing list archive

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

 

Public bug reported:

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;

** Affects: kaliveda
     Importance: Undecided
         Status: New

-- 
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:
  New

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


Follow ups

References