From cf92a1285fb7f1ea6e8c883f02ca146b5b1ab455 Mon Sep 17 00:00:00 2001 From: Lukas Larsson Date: Thu, 11 Apr 2019 16:17:11 +0200 Subject: etp: Fix free de processes check --- erts/etc/unix/etp-commands.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/erts/etc/unix/etp-commands.in b/erts/etc/unix/etp-commands.in index dc28107ef5..1f5703c596 100644 --- a/erts/etc/unix/etp-commands.in +++ b/erts/etc/unix/etp-commands.in @@ -2176,8 +2176,8 @@ end define etp-processes-free-de-int set $de_ix = 0 - while $de_ix < ($arg1) - set $de = ($arg0)+$de_ix + set $de = ($arg0) + while $de set $susp = $de->suspended set $susp_curr = $susp set $first_loop = 1 @@ -2191,7 +2191,7 @@ define etp-processes-free-de-int set $first_loop = 0 set $susp_curr = $susp_curr->next end - set $de_ix++ + set $de = $de->next end end -- cgit v1.2.3