A potential error due to the unreleased lock
Closed this issue · 6 comments
ycaibb commented
Dear developers: Thank you for your checking. It seems there is a lock resource leak on the lock paused
. I think the lock should be released at the end of do_pause
?
Lines 146 to 163 in 9c19c0b
rwmjones commented
Which lock do you mean?
rwmjones commented
It is unlocked in the next function.
rwmjones commented
https://libguestfs.org/nbdkit-pause-filter.1.html#Control-socket
Would suggest reading how the pause filter works. Unless there is a specific problem you are seeing I will close this issue. BTW gitlab is the site used for nbdkit: https://gitlab.com/nbdkit/nbdkit
ycaibb commented
This case is detected by our static code analyzer, which might be a false positive. Thank you very much for your time.