summaryrefslogtreecommitdiff
path: root/toxcore/LAN_discovery.c
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2014-10-17 16:03:02 -0400
committerirungentoo <irungentoo@gmail.com>2014-10-17 16:03:02 -0400
commit418bb2b19430866b3e1f44036907ae9d119e1d62 (patch)
tree466951d657cdad61515111a90d2b5bdd2d3c3232 /toxcore/LAN_discovery.c
parent87130997cda2e37a1df17af4a4e5d16d2abfbf1b (diff)
parent0ce68b994e4c7f46fe08b5cd1b8493c97eb5654f (diff)
Merge branch 'master' of https://github.com/xor2003/toxcore
Diffstat (limited to 'toxcore/LAN_discovery.c')
-rw-r--r--toxcore/LAN_discovery.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/toxcore/LAN_discovery.c b/toxcore/LAN_discovery.c
index 3c05fe8d..436b16fd 100644
--- a/toxcore/LAN_discovery.c
+++ b/toxcore/LAN_discovery.c
@@ -86,6 +86,10 @@ static void fetch_broadcast_info(uint16_t port)
86 pAdapter = pAdapter->Next; 86 pAdapter = pAdapter->Next;
87 } 87 }
88 } 88 }
89
90 if (pAdapterInfo) {
91 free(pAdapterInfo);
92 }
89} 93}
90 94
91#elif defined(__linux__) 95#elif defined(__linux__)