diff -X exclude_files -Nabur ospfd2.4/linux/system.C ospfd2.5/linux/system.C --- ospfd2.4/linux/system.C Thu Sep 13 16:05:44 2001 +++ ospfd2.5/linux/system.C Wed Sep 19 08:51:02 2001 @@ -512,6 +512,8 @@ // Add through routing socket send if (-1 == send(rtsock, nlm, size, 0)) syslog(LOG_ERR, "add route through routing socket: %m"); + + delete [] ((char *)nlm); } void LinuxOspfd::rtdel(InAddr net, InMask mask, MPath *) @@ -562,6 +564,8 @@ // Delete through routing socket send if (-1 == send(rtsock, nlm, size, 0)) syslog(LOG_ERR, "del route through routing socket: %m"); + + delete [] ((char *)nlm); } /* Request the kernel to upload the current set of routing @@ -600,6 +604,8 @@ // Send to routing socket if (-1 == send(rtsock, nlm, size, 0)) syslog(LOG_ERR, "routing table dump: %m"); + + delete [] ((char *)nlm); } #endif diff -X exclude_files -Nabur ospfd2.4/src/ospf.h ospfd2.5/src/ospf.h --- ospfd2.4/src/ospf.h Thu Sep 13 16:05:43 2001 +++ ospfd2.5/src/ospf.h Wed Sep 19 08:51:01 2001 @@ -329,7 +329,7 @@ // Version numbers enum { vmajor = 2, // Major version number - vminor = 4, // Minor version number + vminor = 5, // Minor version number }; // Entry points into the OSPF code diff -X exclude_files -Nabur ospfd2.4/src/spforig.C ospfd2.5/src/spforig.C --- ospfd2.4/src/spforig.C Thu Sep 13 16:05:43 2001 +++ ospfd2.5/src/spforig.C Wed Sep 19 08:51:01 2001 @@ -318,6 +318,7 @@ { if (((byte *)hdr) != orig_buff) delete [] ((byte *)hdr); + else // Static stating area is now available orig_buff_in_use = false; } .