summaryrefslogtreecommitdiff
path: root/lib/command_py.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-05-16 09:54:03 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-05-16 09:59:06 -0400
commitc7ee6c35cb2c7149f6a3ab53cea4d7e212ebe0f6 (patch)
treef2ebef36552e7cf9a95b281c21bbacc37c7d5a15 /lib/command_py.c
parent4b85140f5a6eb5b5c2f425940b585a8ace1253e0 (diff)
bgpd: Fix memory leak of ecommunity_ecom2str
The creation of a temporary string for the ecommunity was being leaked when debugging is enabled. Write a bit of code to prevent this. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/command_py.c')
0 files changed, 0 insertions, 0 deletions