diff --git a/vpr7_x2p/vpr/SRC/base/read_netlist.c b/vpr7_x2p/vpr/SRC/base/read_netlist.c index 146500fe9..3d56ae74d 100644 --- a/vpr7_x2p/vpr/SRC/base/read_netlist.c +++ b/vpr7_x2p/vpr/SRC/base/read_netlist.c @@ -185,7 +185,8 @@ void read_netlist(INP const char *net_file, INP const t_arch *arch, */ FreeTokens(&circuit_inputs); - FreeTokens(&circuit_outputs); + if (circuit_outputs) + FreeTokens(&circuit_outputs); if (circuit_clocks) FreeTokens(&circuit_clocks); FreeNode(Top);