diff options
| author | Carmine Scarpitta <carmine.scarpitta@uniroma2.it> | 2022-10-29 17:31:16 +0200 |
|---|---|---|
| committer | Carmine Scarpitta <carmine.scarpitta@uniroma2.it> | 2022-10-29 17:31:16 +0200 |
| commit | efae8c26cbb10762a6d87056f4e443e4043c5e36 (patch) | |
| tree | edf427e5ab6ae5e1884af253066a7ce57248067e /lib/srv6.c | |
| parent | a1d5e05fb30075edbdbfbf0ea3a2200dbf77acf2 (diff) | |
bgpd: Don't check for NULL when removing chunks
`srv6_locator_chunk_free()` is a wrapper around the `XFREE()` macro.
Passing a NULL pointer to `XFREE()` is safe. Therefore, checking that
the pointer passed to the `srv6_locator_chunk_free()` is not null is
unnecessary.
Signed-off-by: Carmine Scarpitta <carmine.scarpitta@uniroma2.it>
Diffstat (limited to 'lib/srv6.c')
0 files changed, 0 insertions, 0 deletions
