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:
67e8c3b
)
call announce_free from interface_free
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 9 Jun 2014 19:35:47 +0000
(21:35 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 9 Jun 2014 19:35:47 +0000
(21:35 +0200)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
interface.c
patch
|
blob
|
history
diff --git
a/interface.c
b/interface.c
index 866bd05199eb1aa75b5693ace24d5837bb154c09..41e0dafd14399d50ad605e2936895ae0e665223a 100644
(file)
--- a/
interface.c
+++ b/
interface.c
@@
-32,6
+32,7
@@
#include "interface.h"
#include "util.h"
#include "dns.h"
+#include "announce.h"
struct interface *cur_iface = NULL;
@@
-75,6
+76,7
@@
static void interface_free(struct interface *iface)
if (cur_iface == iface)
cur_iface = NULL;
+ announce_free(iface);
if (iface->fd.fd >= 0) {
uloop_fd_delete(&iface->fd);
close(iface->fd.fd);