Don't crash during interface up/down events.
diff --git a/isisd/isis_csm.c b/isisd/isis_csm.c
index 8e57d39..58a0b29 100644
--- a/isisd/isis_csm.c
+++ b/isisd/isis_csm.c
@@ -125,6 +125,7 @@
 	  isis_circuit_if_del (circuit);
 	  listnode_delete (isis->init_circ_list, circuit);
 	  isis_circuit_del (circuit);
+	  circuit = NULL;
 	  break;
 	}
       break;
@@ -143,6 +144,7 @@
 	case ISIS_DISABLE:
 	  isis_circuit_deconfigure (circuit, (struct isis_area *) arg);
 	  isis_circuit_del (circuit);
+	  circuit = NULL;
 	  break;
 	case IF_DOWN_FROM_Z:
 	  zlog_warn ("circuit already disconnected");