mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
Fix coverity #157658
This commit is contained in:
committed by
Mohammad Al-Turany
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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user