diff options
| author | Chirag Shah <chirag@cumulusnetworks.com> | 2017-08-14 18:57:46 -0700 |
|---|---|---|
| committer | Chirag Shah <chirag@cumulusnetworks.com> | 2017-08-15 07:47:08 -0700 |
| commit | cd4af52574ef8027b8d48989ee6445b6b2f246cc (patch) | |
| tree | eb781d66c15e15a69ba7b56f17db38120585ef69 /lib/imsg-buffer.c | |
| parent | e2799b1d676022a00daf3e863ce494e33bbb1737 (diff) | |
ospfd: Fix ospfd crash in free_nexthop
Fix ANVL-OSPF-5.1 reported ospfd crash.
vertex_nexthop_free was added as valgrind reported potential
memory leak, but in some cases nexthop would not be available
freed.
The actual nexthop free is part of ospf_canonical_nexthops_free(),
upon trying to free, qfree checks mtype count becomes 0 and asserts.
Removing vertex_nexthop_free() from ospf_spf_flush_parents().
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Diffstat (limited to 'lib/imsg-buffer.c')
0 files changed, 0 insertions, 0 deletions
