route-table: Clear route_notifier after free.
[openvswitch] / lib / route-table.c
index cd3b37f1cb9c34c52931601ff781161e1949b6ea..58c1b60159c90ca404815fef30511ee0f14d2ec1 100644 (file)
@@ -189,6 +189,7 @@ route_table_unregister(void)
 
     if (!register_count) {
         nln_notifier_destroy(route_notifier);
+        route_notifier = NULL;
         nln_destroy(nln);
         nln = NULL;