summaryrefslogtreecommitdiffstats
path: root/lib/regex.c
diff options
context:
space:
mode:
authorpaul <paul>2006-01-16 11:13:27 +0000
committerpaul <paul>2006-01-16 11:13:27 +0000
commit7c972b1f007d1f12d593f9ed8bda2d84c8633c66 (patch)
tree986241c6312b5a035294dcf02ef7dbeb1bfe40b7 /lib/regex.c
parent1b2e40c4574980f599c6e9faef689bb9b357753a (diff)
downloadquagga-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