Skip to content

Commit 9731011

Browse files
committed
shell: fix leak in output plugin
Problem: The active_shells idset is leaked in the shell output plugin. Add the missing idset_destroy() in shell_output_destroy().
1 parent 57ac53a commit 9731011

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/shell/output.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -773,6 +773,7 @@ void shell_output_destroy (struct shell_output *out)
773773
zhash_destroy (&out->fds);
774774
}
775775
eventlogger_destroy (out->ev);
776+
idset_destroy (out->active_shells);
776777
free (out);
777778
errno = saved_errno;
778779
}

0 commit comments

Comments
 (0)