Skip to content

Commit

Permalink
Add vpiBitVar to the memory cleanup code.
Browse files Browse the repository at this point in the history
Support for vpiBitVar also needed to be added to the memory (valgrind)
cleanup code.
  • Loading branch information
caryr authored and steveicarus committed Apr 7, 2011
1 parent 86801be commit c5b83bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vvp/vpi_scope.cc
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit c5b83bf

Please sign in to comment.