summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/utils.c b/src/lib/utils.c
index 2dc7783..cbcdafe 100644
--- a/src/lib/utils.c
+++ b/src/lib/utils.c
@@ -234,6 +234,8 @@ void nl_cli_load_module(const char *prefix, const char *name)
nl_cli_fatal(ENOENT, "Unable to load module \"%s\": %s\n",
path, dlerror());
}
+ /* We intentionally leak the dlopen handle. */
+ /* coverity[RESOURCE_LEAK] */
}
#else
nl_cli_fatal(ENOTSUP, "Unable to load module \"%s\": built without dynamic libraries support\n",