Python: Fix uninitialized variable
Vicki Pfau vi@endrift.com
Wed, 31 May 2017 17:01:50 -0700
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
src/platform/python/log.c
→
src/platform/python/log.c
@@ -22,6 +22,7 @@
struct mLogger* mLoggerPythonCreate(void* pyobj) { struct mLoggerPy* logger = malloc(sizeof(*logger)); logger->d.log = _pyLogShim; + logger->d.filter = NULL; logger->pyobj = pyobj; return &logger->d; }