]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Free ->raw_data from Hard Notification message after we use it 11577/head
authorDonatas Abraitis <donatas@opensourcerouting.org>
Sun, 10 Jul 2022 09:42:46 +0000 (12:42 +0300)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Mon, 11 Jul 2022 11:46:46 +0000 (14:46 +0300)
commitc73d236383779498034abaa1a759a784750f46da
tree08ca28f5fc044f87cbc1a01f12bf3a687a9ff13d
parent3fb4bef537b4047feada63531026f22f906ea21b
bgpd: Free ->raw_data from Hard Notification message after we use it

==175785== 0 bytes in 1 blocks are definitely lost in loss record 1 of 88
==175785==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==175785==    by 0x492EB8E: qcalloc (in /usr/local/lib/libfrr.so.0.0.0)
==175785==    by 0x269823: bgp_notify_decapsulate_hard_reset (in /usr/lib/frr/bgpd)
==175785==    by 0x26C85D: bgp_notify_receive (in /usr/lib/frr/bgpd)
==175785==    by 0x26E94E: bgp_process_packet (in /usr/lib/frr/bgpd)
==175785==    by 0x4985349: thread_call (in /usr/local/lib/libfrr.so.0.0.0)
==175785==    by 0x491D521: frr_run (in /usr/local/lib/libfrr.so.0.0.0)
==175785==    by 0x1EBEE8: main (in /usr/lib/frr/bgpd)
==175785==

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
bgpd/bgp_packet.c