summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/udev/udev-builtin-net_setup_link.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/udev/udev-builtin-net_setup_link.c b/src/udev/udev-builtin-net_setup_link.c
index 739221ba2b..6a98b802b2 100644
--- a/src/udev/udev-builtin-net_setup_link.c
+++ b/src/udev/udev-builtin-net_setup_link.c
@@ -74,6 +74,7 @@ static int builtin_net_setup_link_init(struct udev *udev) {
static void builtin_net_setup_link_exit(struct udev *udev) {
link_config_ctx_free(ctx);
+ ctx = NULL;
log_debug("Unloaded link configuration context");
}