bgpd: fix memory leak for extra attributes

this fixes commit b881c7074bb698aeb1b099175b325734fc6e44d2
1 file changed