mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 16:46:47 +00:00
Fix coverity #157658
This commit is contained in:
parent
7c1f7aa3f2
commit
07b760218f
|
@ -84,6 +84,10 @@ inline int runStateMachine(TMQDevice& device, FairMQProgOptions& cfg)
|
|||
if (!ldControlHandle)
|
||||
{
|
||||
LOG(ERROR) << "Cannot open library: " << dlerror();
|
||||
if (ldConfigHandle)
|
||||
{
|
||||
dlclose(ldConfigHandle);
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user