Fix valgrind cleanup of dynamic and queue arrays
Fix valgrind cleanup of dynamic and queue arrays

CastMi/iverilog,themperek/iverilog,CastMi/iverilog,themperek/iverilog,CastMi/iverilog,themperek/iverilog