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

Atanu Ghosh atanu at icir.org
Thu Nov 20 16:32:11 PST 2008


CVSROOT:	/usr/local/www/data/cvs
Module name:	xorp
Changes by:	atanu at chum.icir.org	2008-11-21 00:32:11 UTC

XORP CVS repository


Modified files:
	ospf          routing_table.hh 

Log message:
	Add a destructor to the RoutingTable class to free the memory for
	_current and _previous. Should solve this issue detected by valgrind.
	
	==9545== 528 (16 direct, 512 indirect) bytes in 2 blocks are definitely lost in loss record 8 of 34
	==9545==    at 0x4023294: operator new(unsigned) (vg_replace_malloc.c:224)
	==9545==    by 0x80F0FAD: RoutingTable<IPv4>::begin(unsigned) (routing_table.cc:64)
	==9545==    by 0x8125311: AreaRouter<IPv4>::routing_total_recomputeV2() (area_router.cc:3989)
	==9545==    by 0x817064B: AreaRouter<IPv4>::routing_total_recompute() (area_router.cc:3890)
	==9545==    by 0x817066C: AreaRouter<IPv4>::routing_timer() (area_router.cc:3881)
	==9545==    by 0x812C5CE: XorpMemberCallback0B0<void, AreaRouter<IPv4> >::dispatch() (callback_nodebug.hh:306)
	==9545==    by 0x82E01BD: OneoffTimerNode2::expire(XorpTimer&, void*) (timer.cc:167)
	==9545==    by 0x82DF3BA: TimerList::expire_one(int) (timer.cc:441)
	==9545==    by 0x82DF535: TimerList::run() (timer.cc:389)
	==9545==    by 0x82C8F32: EventLoop::do_work(bool) (eventloop.cc:153)
	==9545==    by 0x82C92A4: EventLoop::run() (eventloop.cc:99)
	==9545==    by 0x804C507: main (xorp_ospfv2.cc:77)
	
	Bugzilla URL:   http://bugzilla.xorp.org/bugzilla/show_bug.cgi?id=832

Revision  Changes                               Path
1.49      +8 -1;  commitid: 17eb34926018b41a7;  xorp/ospf/routing_table.hh



More information about the Xorp-cvs mailing list