From ed10e3d47facb23a57fb9474e6594621f1165760 Mon Sep 17 00:00:00 2001 From: Sonja Happ Date: Thu, 17 Oct 2019 10:41:50 +0200 Subject: [PATCH] comment init of node's "stats" shared pointer with nullptr since this causes node_init to crash arbitrarily --- lib/node.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node.cpp b/lib/node.cpp index 9250f2cd5..186533bc8 100644 --- a/lib/node.cpp +++ b/lib/node.cpp @@ -54,7 +54,7 @@ int node_init(struct node *n, struct node_type *vt) n->_vt = vt; n->_vd = alloc(vt->size); - n->stats = nullptr; + //n->stats = nullptr; n->name = nullptr; n->_name = nullptr; n->_name_long = nullptr;