projects
/
project
/
mdnsd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b341f4
)
interface: add missing cache cleanup on interface free
author
Felix Fietkau
<nbd@nbd.name>
Fri, 5 Jan 2024 21:13:02 +0000
(22:13 +0100)
committer
Felix Fietkau
<nbd@nbd.name>
Fri, 5 Jan 2024 21:13:02 +0000
(22:13 +0100)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
interface.c
patch
|
blob
|
history
diff --git
a/interface.c
b/interface.c
index ca4b0b3887a8498cc92335201e4ea5edb1997adc..ad25b39b984ad7d9b9e392da3db5a3f39bbcec89 100644
(file)
--- a/
interface.c
+++ b/
interface.c
@@
-164,6
+164,7
@@
static struct interface *interface_lookup(unsigned int ifindex, enum umdns_socke
static void interface_free(struct interface *iface)
{
+ cache_cleanup(iface);
announce_free(iface);
free(iface->addrs.v4);
free(iface);