diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2024-02-24 12:52:20 +0100 |
---|---|---|
committer | Sander Vrijders <sander@ouroboros.rocks> | 2024-02-26 08:59:15 +0100 |
commit | 82aec24db65fd3bf06f60a8952c1b0b3dfd05ec4 (patch) | |
tree | 8758742320d4c7c63c128c4c9c8ac69f795001e4 /src/lib/irm.c | |
parent | b5888ad746fd03d483196a2cb3711bb0fe63d82d (diff) | |
download | ouroboros-82aec24db65fd3bf06f60a8952c1b0b3dfd05ec4.tar.gz ouroboros-82aec24db65fd3bf06f60a8952c1b0b3dfd05ec4.zip |
irmd: Fix memleak on cancel
If the mainloop is cancelled during a write, the response buffer
leaks.
The IRMd now warns about failed writes only when the error is not
EPIPE, as EPIPE is expected to happen with timed out requests.
Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/lib/irm.c')
0 files changed, 0 insertions, 0 deletions