diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2021-09-07 10:10:50 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2021-09-07 10:10:50 -0400 |
| commit | 19d37e54a010c38b18f6a3e8b577b6b016ce5a6b (patch) | |
| tree | d5ae2b79fcaad00e8b5a3a7e21bc7683a7404c75 /zebra/zebra_vrf.c | |
| parent | 192422ef3b2e0bc533a25ca276f22f36a14265ef (diff) | |
ospfd: Don't allocate json memory unless we have json output
Several functions in ospf_vty.c were allocating json memory
irrelevant if it was needed or not and then at the end of the loop
free'ing it if it was not used. Clean up the access pattern.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/zebra_vrf.c')
0 files changed, 0 insertions, 0 deletions
