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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user