From: Alan T. DeKok Date: Sat, 11 May 2024 00:03:52 +0000 (-0400) Subject: add missing unlock. CID #1597275 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=463013eb318334c2ced2326bc7dca9e8c7ee8922;p=thirdparty%2Ffreeradius-server.git add missing unlock. CID #1597275 --- diff --git a/src/lib/server/dl_module.c b/src/lib/server/dl_module.c index 5fcf3511ee..7d1096c0eb 100644 --- a/src/lib/server/dl_module.c +++ b/src/lib/server/dl_module.c @@ -378,6 +378,7 @@ dl_module_t *dl_module_alloc(dl_module_t const *parent, char const *name, dl_mod error: talloc_free(module_name); talloc_free(dl_module); /* Do not free dl explicitly, it's handled by the destructor */ + pthread_mutex_unlock(&dl_module_loader->lock); return NULL; } dl_module->dl = dl;