1
0
mirror of https://github.com/CPunch/Laika.git synced 2025-10-28 01:00:07 +00:00

Added AddressSanitizer to debug builds

- Used ASAN to fix a small memleak in lpolllist.c (forgot to free hashmap)
This commit is contained in:
2022-01-29 17:00:44 -06:00
parent 56c6db1d62
commit 773ea19532
2 changed files with 15 additions and 1 deletions

View File

@@ -43,6 +43,7 @@ void laikaP_initPList(struct sLaika_pollList *pList) {
void laikaP_cleanPList(struct sLaika_pollList *pList) {
laikaM_free(pList->revents);
hashmap_free(pList->sockets);
#ifdef LAIKA_USE_EPOLL
close(pList->epollfd);