aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_process.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2017-09-12 20:02:48 +0200
committerSverker Eriksson <[email protected]>2017-09-12 20:02:48 +0200
commitc8cf0eb3af418ee505f6726258cb5d34b14f8867 (patch)
tree6e6812ffa7f00bf08fed04a584cd50689e1efb21 /erts/emulator/beam/erl_process.c
parent4bfca4eed77e53ba1042b2fdc1e63993b44696e1 (diff)
parentf388cb3d4c3c442220b75c9d1626601791fea4bc (diff)
downloadotp-c8cf0eb3af418ee505f6726258cb5d34b14f8867.tar.gz
otp-c8cf0eb3af418ee505f6726258cb5d34b14f8867.tar.bz2
otp-c8cf0eb3af418ee505f6726258cb5d34b14f8867.zip
Merge branch 'sverker/valgrind-fixes/OTP-14609' into maint
* sverker/valgrind-fixes/OTP-14609: erts: Suppress false memory leak for dlerror [ct] Cleanup and rename purify related functions as valgrind Revert "remove unused purify functions" erts: Fix memory leak when sending to terminating port erts: Fix harmless use of uninitialised value
Diffstat (limited to 'erts/emulator/beam/erl_process.c')
-rw-r--r--erts/emulator/beam/erl_process.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_process.c b/erts/emulator/beam/erl_process.c
index 22d77ccbdc..b72bac00c1 100644
--- a/erts/emulator/beam/erl_process.c
+++ b/erts/emulator/beam/erl_process.c
@@ -12518,6 +12518,7 @@ erl_create_process(Process* parent, /* Parent of process (default group leader).
p->msg.first = NULL;
p->msg.last = &p->msg.first;
p->msg.save = &p->msg.first;
+ p->msg.saved_last = &p->msg.first;
p->msg.len = 0;
#ifdef ERTS_SMP
p->msg_inq.first = NULL;