[Xorp-cvs] XORP cvs commit: xorp/bgp

Pavlin Radoslavov pavlin at icir.org
Fri Oct 27 16:05:34 PDT 2006


CVSROOT:	/usr/local/share/doc/apache/cvs
Module name:	xorp
Changes by:	pavlin at xorpc.icir.org	2006-10-27 23:05:34 UTC

XORP CVS repository


Modified files:
	bgp           route_table_policy.cc 

Log message:
	Few changes as a safeguard against potential memory leak (in case the
	code is refactored or used in slightly different way).
	
	* Initialize PolicyTable<A>::_varrw to NULL inside the
	  PolicyTable constructor.
	
	* Delete the old _varrw inside PolicyTable<A>::init_varrw() before
	  allocating and assigning a new BGPVarRW instance to it.

Revision  Changes                              Path
1.21      +8 -3;  commitid: da8a45428f9f7ea6;  xorp/bgp/route_table_policy.cc



More information about the Xorp-cvs mailing list