commit | 85d1c6a3b03685709b7c5291e4938020fa79ec3e | [log] [tgz] |
---|---|---|
author | Otavio Rodolfo Piske <opiske@redhat.com> | Wed Jan 30 14:32:47 2019 +0100 |
committer | Clebert Suconic <clebertsuconic@apache.org> | Fri Feb 22 10:36:32 2019 -0500 |
tree | 0ce7b3451abc4cc207b788e0524c5b8bbaf41b81 | |
parent | be8c378071aeee567dd9b99265ab784f6933018a [diff] |
ARTEMIS-2260 Fix an incorrect cleanup of the AIO I/O context. Since the context is initialized on the stack, calling free on it is incorrect and can lead to memory corruption. This replaces the cleanup routines w/ io_queue_release which is the appropriate way to cleanup the context.