]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: free rfapi callback object always 12875/head
authorMark Stapp <mjs@labn.net>
Wed, 22 Feb 2023 13:58:28 +0000 (08:58 -0500)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Wed, 22 Feb 2023 19:50:29 +0000 (19:50 +0000)
commit5d05de671f3448cac247d8d694b7fe8964535758
tree65577e9779aec3293982e1bc49dd13aacb2b4f5a
parenta640b4a3906d90780a50ff3e57ac06c1f0db96bb
bgpd: free rfapi callback object always

An rfapi timer callback is responsible for the memory in a
context object, even in special-case exit paths. Always
free that object.

Signed-off-by: Mark Stapp <mjs@labn.net>
(cherry picked from commit 870d3d2cb8e2fa6ff9329ec7126265d1e25a38ae)
bgpd/rfapi/rfapi_import.c