From c5b83bf2ee8a8775388ad0ef3ed7093d1af977a4 Mon Sep 17 00:00:00 2001 From: Cary R Date: Mon, 4 Apr 2011 10:47:20 -0700 Subject: [PATCH] Add vpiBitVar to the memory cleanup code. Support for vpiBitVar also needed to be added to the memory (valgrind) cleanup code. --- vvp/vpi_scope.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vvp/vpi_scope.cc b/vvp/vpi_scope.cc index e3449679c..45afce324 100644 --- a/vvp/vpi_scope.cc +++ b/vvp/vpi_scope.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2010 Stephen Williams (steve@icarus.com) + * Copyright (c) 2001-2011 Stephen Williams (steve@icarus.com) * * This source code is free software; you can redistribute it * and/or modify it in source code form under the terms of the GNU @@ -81,6 +81,7 @@ static void delete_sub_scopes(struct __vpiScope *scope) case vpiShortIntVar: case vpiIntVar: case vpiByteVar: + case vpiBitVar: signal_delete((scope->intern)[idx]); break; case vpiParameter: