bgpd: Fix crash reported by NetDEF CI

This patch is part of the previously submitted
 patch set on VPN and Encap SAFIs.  It fixes
 an issue identified by NetDEF CI.

 Ensure temp stack structures are initialized
 Add protection against double frees / post
 free access to bgp_attr_flush

    Signed-off-by: Lou Berger <lberger@labn.net>
2 files changed