diff options
author | Chris Hall <GMCH@hestia.halldom.com> | 2010-01-20 14:39:33 +0000 |
---|---|---|
committer | Chris Hall <GMCH@hestia.halldom.com> | 2010-01-20 14:39:33 +0000 |
commit | c9def9a6117b3fa757da059997d2f27d84d85ec8 (patch) | |
tree | 3922c8dd6729a56d73586c95a1b604f90b2369b1 /bgpd/bgp_notification.c | |
parent | c204b3f4299cc3c3f61ebbc5c2223fa913ce5424 (diff) | |
download | quagga-c9def9a6117b3fa757da059997d2f27d84d85ec8.tar.bz2 quagga-c9def9a6117b3fa757da059997d2f27d84d85ec8.tar.xz |
Fixed dangling uses of bgp_notify_free()
modified: bgpd/bgp_msg_write.c
modified: bgpd/bgp_notification.c
modified: bgpd/bgp_open_state.c
modified: bgpd/bgp_peer.c
modified: bgpd/bgp_session.c
Diffstat (limited to 'bgpd/bgp_notification.c')
-rw-r--r-- | bgpd/bgp_notification.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/bgp_notification.c b/bgpd/bgp_notification.c index 392289d0..6676b346 100644 --- a/bgpd/bgp_notification.c +++ b/bgpd/bgp_notification.c @@ -128,7 +128,7 @@ bgp_notify_unset(bgp_notify* p_notification) extern void bgp_notify_set(bgp_notify* p_dst, bgp_notify src) { - bgp_notify_free(p_dst) ; + bgp_notify_free(*p_dst) ; *p_dst = src ; } ; @@ -153,7 +153,7 @@ bgp_notify_set_dup(bgp_notify* p_dst, bgp_notify src) extern void bgp_notify_set_mov(bgp_notify* p_dst, bgp_notify* p_src) { - bgp_notify_free(p_dst) ; + bgp_notify_free(*p_dst) ; *p_dst = *p_src ; *p_src = NULL ; } ; |