diff options
| author | Carmine Scarpitta <carmine.scarpitta@uniroma2.it> | 2022-10-29 17:23:59 +0200 |
|---|---|---|
| committer | Carmine Scarpitta <carmine.scarpitta@uniroma2.it> | 2022-10-29 17:23:59 +0200 |
| commit | a1d5e05fb30075edbdbfbf0ea3a2200dbf77acf2 (patch) | |
| tree | cae4cbe0a6202ac62150ec5e6ecc683c35af4d13 /lib/srv6.c | |
| parent | 6946731314fd04c499e576d0e133879f3e9c2edd (diff) | |
bgpd: Do not set chunk pointer to NULL after free
`srv6_locator_chunk_free()` takes care of freeing the memory allocated
for a `struct srv6_locator_chunk` and setting the
`struct srv6_locator_chunk` pointer to NULL.
It is not necessary to explicitly set the pointer to NULL after invoking
`srv6_locator_chunk_free()`.
Signed-off-by: Carmine Scarpitta <carmine.scarpitta@uniroma2.it>
Diffstat (limited to 'lib/srv6.c')
0 files changed, 0 insertions, 0 deletions
