route-table: Close netlink notifier before closing nln.
[openvswitch] / lib / route-table.c
index a0c812105eb33e71c565a3b28cd5371988f97547..cd3b37f1cb9c34c52931601ff781161e1949b6ea 100644 (file)
@@ -188,6 +188,7 @@ route_table_unregister(void)
     register_count--;
 
     if (!register_count) {
+        nln_notifier_destroy(route_notifier);
         nln_destroy(nln);
         nln = NULL;