[bgpd] fix mtype in XFREE and NULL out freed pointer

2006-08-27 Paul Jakma <paul.jakma@sun.com>

	* bgp_advertise.c: (bgp_sync_delete) fix mtype in XFREE.
	  NULL out peer->hash after free, to be sure.
diff --git a/bgpd/ChangeLog b/bgpd/ChangeLog
index 99960ae..b27132c 100644
--- a/bgpd/ChangeLog
+++ b/bgpd/ChangeLog
@@ -1,3 +1,8 @@
+2006-08-27 Paul Jakma <paul.jakma@sun.com>
+
+	* bgp_advertise.c: (bgp_sync_delete) fix mtype in XFREE.
+	  NULL out peer->hash after free, to be sure.
+
 2006-08-06 Paul Jakma <paul.jakma@sun.com>
 
 	* bgp_aspath.c: (aspath_loop_check) Fix the typo-bug which