aboutsummaryrefslogtreecommitdiff
path: root/src/core/aio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/aio.c')
-rw-r--r--src/core/aio.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/core/aio.c b/src/core/aio.c
index fe9bcde8..5b8c7970 100644
--- a/src/core/aio.c
+++ b/src/core/aio.c
@@ -73,10 +73,6 @@ nni_aio_fini(nni_aio *aio)
// At this point the AIO is done.
nni_cv_fini(&aio->a_cv);
-
- if ((aio->a_naddrs != 0) && (aio->a_addrs != NULL)) {
- NNI_FREE_STRUCTS(aio->a_addrs, aio->a_naddrs);
- }
}
// nni_aio_stop cancels any oustanding operation, and waits for the