diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-05-07 18:44:59 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-07 18:44:59 +0300 |
| commit | 0ef5ec616b6de47ad7e8cd229dcf11f99dce65fd (patch) | |
| tree | 5d25a7d9698a7ca36c2439ea449aaecd1c60f16a /pceplib/pcep_msg_objects.c | |
| parent | 00b0b7484735d7ffbd8897613cfb96e1ba02f67b (diff) | |
| parent | 14678bfa0d1c6cbf4346085676b1458461a0faaf (diff) | |
Merge pull request #11156 from donaldsharp/spelling_three
valgrind issues and general cleanup
Diffstat (limited to 'pceplib/pcep_msg_objects.c')
| -rw-r--r-- | pceplib/pcep_msg_objects.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pceplib/pcep_msg_objects.c b/pceplib/pcep_msg_objects.c index e253fcc540..ce41ee953f 100644 --- a/pceplib/pcep_msg_objects.c +++ b/pceplib/pcep_msg_objects.c @@ -674,8 +674,9 @@ pcep_obj_create_ro_subobj_sr_ipv4_node(bool loose_hop, bool sid_absent, } obj->nai_list = dll_initialize(); /* Since the IP has to be stored in the list, copy it so the caller - * doesnt have any restrictions about the type of memory used externally - * for the IP. This memory will be freed with the object is freed. */ + * doesn't have any restrictions about the type of memory used + * externally for the IP. This memory will be freed with the object is + * freed. */ struct in_addr *ipv4_node_id_copy = pceplib_malloc(PCEPLIB_MESSAGES, sizeof(struct in_addr)); ipv4_node_id_copy->s_addr = ipv4_node_id->s_addr; |
