diff options
Diffstat (limited to 'src/libsystemd-network')
-rw-r--r-- | src/libsystemd-network/network-internal.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libsystemd-network/network-internal.c b/src/libsystemd-network/network-internal.c index cf577e54a4..f3dc42f6dd 100644 --- a/src/libsystemd-network/network-internal.c +++ b/src/libsystemd-network/network-internal.c @@ -353,6 +353,8 @@ int load_module(struct kmod_ctx *ctx, const char *mod_name) { log_error("Failed to insert '%s': %s", kmod_module_get_name(mod), strerror(-r)); } + + kmod_module_unref(mod); } kmod_module_unref_list(modlist); |