diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2020-02-03 11:22:13 -0500 | 
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2020-02-03 11:22:13 -0500 | 
| commit | b3ba5dc7fe769f3719b2812e4fdb9f8f8271032d (patch) | |
| tree | 326b49289dd6b1e83c4ff98899983dd4972afff8 /bgpd/bgp_lcommunity.c | |
| parent | 84e1268340b71c605772858dc1b5ebc2d577bf85 (diff) | |
*: don't null after XFREE; XFREE does this itself
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_lcommunity.c')
| -rw-r--r-- | bgpd/bgp_lcommunity.c | 1 | 
1 files changed, 0 insertions, 1 deletions
diff --git a/bgpd/bgp_lcommunity.c b/bgpd/bgp_lcommunity.c index 674686b3c4..f889693001 100644 --- a/bgpd/bgp_lcommunity.c +++ b/bgpd/bgp_lcommunity.c @@ -527,7 +527,6 @@ void lcommunity_del_val(struct lcommunity *lcom, uint8_t *ptr)  						 lcom->val, lcom_length(lcom));  			else {  				XFREE(MTYPE_LCOMMUNITY_VAL, lcom->val); -				lcom->val = NULL;  			}  			return;  		}  | 
