summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_msg_write.c
diff options
context:
space:
mode:
authorChris Hall <GMCH@hestia.halldom.com>2010-01-20 14:39:33 +0000
committerChris Hall <GMCH@hestia.halldom.com>2010-01-20 14:39:33 +0000
commitc9def9a6117b3fa757da059997d2f27d84d85ec8 (patch)
tree3922c8dd6729a56d73586c95a1b604f90b2369b1 /bgpd/bgp_msg_write.c
parentc204b3f4299cc3c3f61ebbc5c2223fa913ce5424 (diff)
downloadquagga-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_msg_write.c')
-rw-r--r--bgpd/bgp_msg_write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_msg_write.c b/bgpd/bgp_msg_write.c
index f4345f49..c321df59 100644
--- a/bgpd/bgp_msg_write.c
+++ b/bgpd/bgp_msg_write.c
@@ -136,7 +136,7 @@ bgp_msg_write_notification(bgp_connection connection, bgp_notify notification)
#if 0
bgp_notify_print(peer, text_form, "sending") ;
#endif
- bgp_notify_free(&text_form) ;
+ bgp_notify_free(text_form) ;
} ;
/* Finally -- write the obuf away */