diff options
-rw-r--r-- | pr/src/io/prmwait.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pr/src/io/prmwait.c b/pr/src/io/prmwait.c index 5982a1cf..ab32fb5d 100644 --- a/pr/src/io/prmwait.c +++ b/pr/src/io/prmwait.c @@ -475,6 +475,7 @@ static PRStatus _MW_PollInternal(PRWaitGroup *group) PR_Lock(group->ml); if (_prmw_running != group->state) { + PR_DELETE(poll_list); PR_SetError(PR_INVALID_STATE_ERROR, 0); goto aborted; } |