mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
forgotten to free memory in pAdapterInfo
This commit is contained in:
parent
6114bd7f3e
commit
35b16b9cee
|
@ -86,6 +86,10 @@ static void fetch_broadcast_info(uint16_t port)
|
||||||
pAdapter = pAdapter->Next;
|
pAdapter = pAdapter->Next;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (pAdapterInfo) {
|
||||||
|
free(pAdapterInfo);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#elif defined(__linux__)
|
#elif defined(__linux__)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user