]> git.ipfire.org Git - thirdparty/lldpd.git/commit
lib/cpp: Fix memory leaks in LldpCtl
authorPM Holtmo <pm.holtmo@gmail.com>
Fri, 23 May 2025 14:10:25 +0000 (16:10 +0200)
committerVincent Bernat <vincent@bernat.ch>
Tue, 27 May 2025 21:33:11 +0000 (23:33 +0200)
commit241ed3591ed1bf168b2e510fa21aafce7df82c96
tree5c3e488033c416f94c10e4eb133dbf2d76859d11
parentf0d4ab5e786fb38d1763f8168d4ee6b32be09374
lib/cpp: Fix memory leaks in LldpCtl

LldpCtl::GetInterfaces() and LldpAtom::GetAtomList() did not decrement ref for retrieved atoms
Ensure parent atom outlives its children atoms
src/lib/lldpctl.hpp