No subject



Mon Oct 4 18:45:53 2004
Return-Path: xorp-cvs-admin@icir.org
Delivery-Date: Mon, 04 Oct 2004 11:46:01 -0700
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
	by tigger.icir.org (8.12.11/8.12.8) with ESMTP id i94Ik1Fv018667
	for <atanu@tigger.icir.org>; Mon, 4 Oct 2004 11:46:01 -0700 (PDT)
	(envelope-from xorp-cvs-admin@icir.org)
Received: from fruitcake.ICSI.Berkeley.EDU (fruitcake.ICSI.Berkeley.EDU [192.150.186.11])
	by wyvern.icir.org (8.12.9p1/8.12.8) with ESMTP id i94Ik1ve014353
	for <atanu@icir.org>; Mon, 4 Oct 2004 11:46:01 -0700 (PDT)
	(envelope-from xorp-cvs-admin@icir.org)
Received: from fruitcake.ICSI.Berkeley.EDU (localhost [127.0.0.1])
	by fruitcake.ICSI.Berkeley.EDU (8.12.10/8.12.9) with ESMTP id i94Ik1Kk018233;
	Mon, 4 Oct 2004 11:46:01 -0700 (PDT)
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
	by fruitcake.ICSI.Berkeley.EDU (8.12.10/8.12.9) with ESMTP id i94IjrKk018221
	for <xorp-cvs@icsi.berkeley.edu>; Mon, 4 Oct 2004 11:45:53 -0700 (PDT)
Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68])
	by wyvern.icir.org (8.12.9p1/8.12.8) with ESMTP id i94Ijrve014351
	for <xorp-cvs@icir.org>; Mon, 4 Oct 2004 11:45:53 -0700 (PDT)
	(envelope-from abittau@icir.org)
Received: from xorpc.icir.org (localhost [127.0.0.1])
	by xorpc.icir.org (8.12.11/8.12.8) with ESMTP id i94IjrY1041306
	for <xorp-cvs@icir.org>; Mon, 4 Oct 2004 11:45:53 -0700 (PDT)
	(envelope-from abittau@xorpc.icir.org)
Received: (from abittau@localhost)
	by xorpc.icir.org (8.12.11/8.12.3/Submit) id i94IjrqU041305
	for xorp-cvs@icir.org; Mon, 4 Oct 2004 18:45:53 GMT
	(envelope-from abittau)
Date: Mon, 4 Oct 2004 18:45:53 GMT
From: Andrea Bittau <abittau@icir.org>
Message-Id: <200410041845.i94IjrqU041305@xorpc.icir.org>
To: xorp-cvs@icir.org
X-XORP-CVS-Branch: HEAD
Subject: [Xorp-cvs] XORP cvs commit: xorp/policy/backend
Sender: xorp-cvs-admin@icir.org
Errors-To: xorp-cvs-admin@icir.org
X-BeenThere: xorp-cvs@icir.org
X-Mailman-Version: 2.0
Precedence: bulk
List-Help: <mailto:xorp-cvs-request@icir.org?subject=help>
List-Post: <mailto:xorp-cvs@icir.org>
List-Subscribe: <http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs>,
	<mailto:xorp-cvs-request@icir.org?subject=subscribe>
List-Id: Mailing list for XORP CVS commit messages <xorp-cvs.icir.org>
List-Unsubscribe: <http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs>,
	<mailto:xorp-cvs-request@icir.org?subject=unsubscribe>

CVSROOT:	/usr/local/www/data/cvs
Module name:	xorp
Changes by:	abittau@xorpc.icir.org	2004-10-04 18:45:53 UTC

XORP CVS repository


Modified files:
	policy/backend single_varrw.cc 

Log message:
	Fix the case when a variable is written to before it's read. In such a case,
	there is no need for the client code to initialize the variable. If the client
	does, it will be ignored.
	
	Also fixed a memory leak:
	Previously, variables may not be initialized twice. On error, an exception would
	be thrown without deleting the element.

Revision  Changes    Path
1.3       +34 -12    xorp/policy/backend/single_varrw.cc
_______________________________________________
Xorp-cvs mailing list
Xorp-cvs@icir.org
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs