]> git.proxmox.com Git - mirror_frr.git/commit
Fixup code to use correct XMALLOC operators
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 26 Aug 2015 14:44:57 +0000 (07:44 -0700)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 26 Aug 2015 14:44:57 +0000 (07:44 -0700)
commit6e9197093cd0942a6ddfd8ce24739419fe6e090d
treec3ea602d9fed3537ff67a1cd74f38ef76e45c0e4
parent6baf7bb88b1b02221b2d213d089f1077aae4ee1d
Fixup code to use correct XMALLOC operators

Ticket: CM-7177
Reviewed-by: CCR-3396
Testing: See bug

This code change does several small things:
(A) Fix a couple detected memory leaks
(B) Fix all malloc operations to use the correct XMALLOC operation in bgpd and parts of lib
(C) Adds a few new memory types to make it easier to detect issues
14 files changed:
bgpd/bgp_debug.c
bgpd/bgp_dump.c
bgpd/bgp_filter.c
bgpd/bgp_mplsvpn.c
bgpd/bgp_route.c
bgpd/bgp_updgrp.c
bgpd/bgp_vty.c
bgpd/bgp_zebra.c
bgpd/bgpd.c
lib/agentx.c
lib/distribute.c
lib/keychain.c
lib/log.c
lib/memtypes.c