Skip to content

Commit 6fcd3e6

Browse files
authored
KQueueEventLoop leaks memory on shutdown. (#14745)
Motivation: We did miss to release the IovArray when shutdown the KQueueEventLoop. This lead to a small native memory leak. Modifications: Correctly release the native memory on shutdown Result: Fix small memory leak
1 parent a70829f commit 6fcd3e6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

transport-classes-kqueue/src/main/java/io/netty/channel/kqueue/KQueueEventLoop.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,7 @@ protected void cleanup() {
380380
}
381381
} finally {
382382
// Cleanup all native memory!
383+
iovArray.release();
383384
changeList.free();
384385
eventList.free();
385386
}

0 commit comments

Comments
 (0)