diff options
author | paul <paul> | 2006-01-16 11:13:27 +0000 |
---|---|---|
committer | paul <paul> | 2006-01-16 11:13:27 +0000 |
commit | 7c972b1f007d1f12d593f9ed8bda2d84c8633c66 (patch) | |
tree | 986241c6312b5a035294dcf02ef7dbeb1bfe40b7 /lib/regex.c | |
parent | 1b2e40c4574980f599c6e9faef689bb9b357753a (diff) | |
download | quagga-7c972b1f007d1f12d593f9ed8bda2d84c8633c66.tar.bz2 quagga-7c972b1f007d1f12d593f9ed8bda2d84c8633c66.tar.xz |
[bgpd] fix some leaks introduced in aspath rewrite.
2006-01-16 Paul Jakma <paul.jakma@sun.com>
* bgp_aspath.c: (assegment_append_asns) XREALLOC can return
NULL theoretically, take care not to lose the allocated data.
(aspath_hash_alloc) aspath_dup already set the aspath
string - fix leak.
(aspath_parse) aspath_hash_alloc dupes the entire aspath,
including segments, but we forgot to free the temporary
assegment.
Diffstat (limited to 'lib/regex.c')
0 files changed, 0 insertions, 0 deletions