projects
/
project
/
udebug.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6c5e5d
)
ring: close ring fd on free
author
Felix Fietkau
<nbd@nbd.name>
Tue, 14 Nov 2023 11:04:51 +0000
(12:04 +0100)
committer
Felix Fietkau
<nbd@nbd.name>
Tue, 14 Nov 2023 11:04:51 +0000
(12:04 +0100)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
ring.c
patch
|
blob
|
history
diff --git
a/ring.c
b/ring.c
index 7c869f5864077df1b87815c5bf8d49e013622223..ba75ac56849ad8d3776f7f15e3d1f40cfb559216 100644
(file)
--- a/
ring.c
+++ b/
ring.c
@@
-81,5
+81,6
@@
void client_ring_free(struct client_ring *r)
udebug_ubus_ring_notify(r, false);
avl_delete(&rings, &r->node);
list_del(&r->list);
+ close(r->fd);
free(r);
}