Fix release of variables.
Fix release of variables.

This patch fixes the release of varaibles to work correctly.

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