summaryrefslogtreecommitdiff
path: root/src/udev
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2013-10-29 23:32:00 +0100
committerTom Gundersen <teg@jklm.no>2013-10-29 23:36:18 +0100
commite0221a35c8a967b2c772f26fcb6ef2300216d0b0 (patch)
treee93d7918767f40b7d46cf0a8f5c3e66d94c24db7 /src/udev
parentd8921c6d5c7f1047762c2929908fa6c9b506d59d (diff)
udev: link-config - reset ctx on exit
Diffstat (limited to 'src/udev')
-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");
}