[Bf-blender-cvs] [88de25504b6] soc-2020-info-editor: Fix clog memory leak

Mateusz Grzeliński noreply at git.blender.org
Tue Aug 18 13:56:45 CEST 2020


Commit: 88de25504b6da1729aae523e25e94fa7492531ec
Author: Mateusz Grzeliński
Date:   Tue Aug 18 13:56:39 2020 +0200
Branches: soc-2020-info-editor
https://developer.blender.org/rB88de25504b6da1729aae523e25e94fa7492531ec

Fix clog memory leak

===================================================================

M	intern/clog/CLG_log.h

===================================================================

diff --git a/intern/clog/CLG_log.h b/intern/clog/CLG_log.h
index 39b9809b2b5..ea1f6311388 100644
--- a/intern/clog/CLG_log.h
+++ b/intern/clog/CLG_log.h
@@ -411,7 +411,7 @@ void CLG_logref_init(CLG_LogRef *clg_ref);
     } while (false)
 #endif  // DEBUG
 #define CLOG_STR_VERBOSE_N(clg_ref, log_level, str) \
-  CLOG_STR_AT_SEVERITY(clg_ref, CLG_SEVERITY_VERBOSE, log_level, str)
+  CLOG_STR_AT_SEVERITY_N(clg_ref, CLG_SEVERITY_VERBOSE, log_level, str)
 #define CLOG_STR_INFO_N(clg_ref, str) CLOG_STR_AT_SEVERITY_N(clg_ref, CLG_SEVERITY_INFO, 0, str)
 #define CLOG_STR_WARN_N(clg_ref, str) CLOG_STR_AT_SEVERITY_N(clg_ref, CLG_SEVERITY_WARN, 0, str)
 #define CLOG_STR_ERROR_N(clg_ref, str) CLOG_STR_AT_SEVERITY_N(clg_ref, CLG_SEVERITY_ERROR, 0, str)



More information about the Bf-blender-cvs mailing list