initialize node_t::mask to NULL
This commit is contained in:
parent
d7dd02276c
commit
399a0c9ffc
1 changed files with 1 additions and 1 deletions
2
expr.h
2
expr.h
|
|
@ -65,7 +65,7 @@ struct node_t
|
||||||
mask_t * mask;
|
mask_t * mask;
|
||||||
|
|
||||||
node_t(const kind_t _type)
|
node_t(const kind_t _type)
|
||||||
: type(_type), left(NULL), right(NULL) {}
|
: type(_type), left(NULL), right(NULL), mask(NULL) {}
|
||||||
|
|
||||||
~node_t() {
|
~node_t() {
|
||||||
if (mask) delete mask;
|
if (mask) delete mask;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue