Merge pull request #18522 from alalek:fix_18152

pull/18531/head
Alexander Alekhin 4 years ago
commit 01981ed290
  1. 3
      modules/core/src/logger.cpp
  2. 7
      platforms/scripts/valgrind.supp

@ -94,8 +94,7 @@ LogLevel GlobalLoggingInitStruct::m_defaultUnconfiguredGlobalLevel = GlobalLoggi
//
static GlobalLoggingInitStruct& getGlobalLoggingInitStruct()
{
static GlobalLoggingInitStruct globalLoggingInitInstance;
return globalLoggingInitInstance;
CV_SINGLETON_LAZY_INIT_REF(GlobalLoggingInitStruct, new GlobalLoggingInitStruct());
}
// To ensure that the combined struct defined above is initialized even

@ -218,6 +218,13 @@
fun:__itt_*create*
}
{
OpenCV-SingletonLogger
Memcheck:Leak
...
fun:_ZN2cv5utils7logging8internalL26getGlobalLoggingInitStructEv
}
{
OpenCV-gtk_init
Memcheck:Leak

Loading…
Cancel
Save