Skip to content

qlop: Do not leak avgs array in predict mode#27

Closed
bstaletic wants to merge 3 commits intogentoo:masterfrom
bstaletic:qlop_leak
Closed

qlop: Do not leak avgs array in predict mode#27
bstaletic wants to merge 3 commits intogentoo:masterfrom
bstaletic:qlop_leak

Conversation

@bstaletic
Copy link
Copy Markdown
Contributor

Previously, values_set(merge_averages, avgs) would allocate avgs, then it would be used in array_for_each(atoms, i, atom), but a call to xarrayfree_int(avgs) was missing after the loop.

Hopefully, this, along with #26, will solve the issues from #19.

Previously, `values_set(merge_averages, avgs)` would allocate `avgs`,
then it would be used in `array_for_each(atoms, i, atom)`, but a call to
`xarrayfree_int(avgs)` was missing after the loop.

Hopefully, this, along with gentoo#26, will solve the issues from gentoo#19.
@bstaletic bstaletic mentioned this pull request Mar 28, 2024
@grobian
Copy link
Copy Markdown
Member

grobian commented Mar 29, 2024

thanks, pushed

@grobian grobian closed this Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants