Skip to content

iDQ: Patch several memory leaks

Rachael Huxford requested to merge o4-online-dev-081122 into o4-online-dev

Patch several sources of possible mem leaks in the C integrator element:

  1. Recycle queue mem usage instead of malloc-ing new memory for every new item pushed to head
  2. Free buf_vector for every buffer and not in finalize b/c it is malloc-ed for every buffer.
  3. Free both queue and queue items in finalize. Previously only queue was being freed.

Merge request reports

Loading