]> git.proxmox.com Git - mirror_frr.git/commit
bfdd: fix coverity scan resource leak
authorRafael Zalamena <rzalamena@opensourcerouting.org>
Wed, 6 Jul 2022 10:49:56 +0000 (07:49 -0300)
committerRafael Zalamena <rzalamena@opensourcerouting.org>
Wed, 6 Jul 2022 10:49:56 +0000 (07:49 -0300)
commit500fe387a0e4ff474e3f85a317ac73f733dccf01
treebf217ec0c1af779325dc4a1adebcf9e537d8d17e
parentd1757dd5cde6190016a81209359b23440108d734
bfdd: fix coverity scan resource leak

Close the descriptor if something fails and we don't return it.

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
bfdd/bfd_packet.c