summaryrefslogtreecommitdiff
path: root/erts/emulator/beam/erl_node_tables.c
diff options
context:
space:
mode:
authorSverker Eriksson <sverker@erlang.org>2020-04-02 17:55:15 +0200
committerSverker Eriksson <sverker@erlang.org>2020-04-02 17:55:15 +0200
commit957b58100fc2f0ba78feda051937292a93c6637c (patch)
tree24cb1a6eb27266b2c80b93e3860ce42342f057ab /erts/emulator/beam/erl_node_tables.c
parent54aad59898321ae57b282519268ebff895beb37d (diff)
downloaderlang-957b58100fc2f0ba78feda051937292a93c6637c.tar.gz
erts: Fix valgrind warning in erts_internal:get_creation()
Diffstat (limited to 'erts/emulator/beam/erl_node_tables.c')
-rw-r--r--erts/emulator/beam/erl_node_tables.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_node_tables.c b/erts/emulator/beam/erl_node_tables.c
index 252bbbb229..929795fcb0 100644
--- a/erts/emulator/beam/erl_node_tables.c
+++ b/erts/emulator/beam/erl_node_tables.c
@@ -172,6 +172,7 @@ dist_table_alloc(void *dep_tmpl)
erts_rwmtx_init_opt(&dep->rwmtx, &rwmtx_opt, "dist_entry", sysname,
ERTS_LOCK_FLAGS_CATEGORY_DISTRIBUTION);
dep->sysname = sysname;
+ dep->creation = 0; /* undefined */
dep->cid = NIL;
erts_atomic_init_nob(&dep->input_handler, (erts_aint_t) NIL);
dep->connection_id = 0;