MCPcopy Create free account
hub / github.com/F-Stack/f-stack / aeApiFree

Function aeApiFree

app/redis-6.2.6/src/ae_ff_kqueue.c:96–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96static void aeApiFree(aeEventLoop *eventLoop) {
97 aeApiState *state = eventLoop->apidata;
98
99 close(state->kqfd);
100 zfree(state->events);
101 zfree(state->eventsMask);
102 zfree(state);
103}
104
105static int aeApiAddEvent(aeEventLoop *eventLoop, int fd, int mask) {
106 aeApiState *state = eventLoop->apidata;

Callers

nothing calls this directly

Calls 2

closeFunction · 0.70
zfreeFunction · 0.70

Tested by

no test coverage detected