]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: free rfapi callback object always 12874/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:27 +0000 (19:50 +0000)
commite98fbcadb2e682248bd92bd212112f11aa69462a
tree31c386d07bb11bb3ba50084f3fbde2afa50ec7a9
parent2bea6210453f08329d70442b93a45953313f43b0
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