summaryrefslogtreecommitdiff
path: root/src/tools/irm/irm.c
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2024-02-24 12:52:20 +0100
committerSander Vrijders <sander@ouroboros.rocks>2024-02-26 08:59:15 +0100
commit82aec24db65fd3bf06f60a8952c1b0b3dfd05ec4 (patch)
tree8758742320d4c7c63c128c4c9c8ac69f795001e4 /src/tools/irm/irm.c
parentb5888ad746fd03d483196a2cb3711bb0fe63d82d (diff)
downloadouroboros-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/tools/irm/irm.c')
0 files changed, 0 insertions, 0 deletions