summaryrefslogtreecommitdiff
path: root/lib/srv6.c
diff options
context:
space:
mode:
authorCarmine Scarpitta <carmine.scarpitta@uniroma2.it>2022-10-29 17:23:59 +0200
committerCarmine Scarpitta <carmine.scarpitta@uniroma2.it>2022-10-29 17:23:59 +0200
commita1d5e05fb30075edbdbfbf0ea3a2200dbf77acf2 (patch)
treecae4cbe0a6202ac62150ec5e6ecc683c35af4d13 /lib/srv6.c
parent6946731314fd04c499e576d0e133879f3e9c2edd (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