aboutsummaryrefslogtreecommitdiff
path: root/src/core/aio.h
diff options
context:
space:
mode:
authorshikokuchuo <53399081+shikokuchuo@users.noreply.github.com>2025-03-21 11:59:38 +0000
committerGarrett D'Amore <garrett@damore.org>2025-04-27 09:07:39 -0700
commit527a07c6b632f6991102d4fd08ac1f5f962ddfdf (patch)
tree564d73fcc678b54133afa81e7928b00679d72ca0 /src/core/aio.h
parenteb813829f9ffec760e1ed6c2c710c9f6aed55c2f (diff)
downloadnng-527a07c6b632f6991102d4fd08ac1f5f962ddfdf.tar.gz
nng-527a07c6b632f6991102d4fd08ac1f5f962ddfdf.tar.bz2
nng-527a07c6b632f6991102d4fd08ac1f5f962ddfdf.zip
fix aio_reap_list use of nni_aio_free() pointer to incorrect function type UBSAN warning
Diffstat (limited to 'src/core/aio.h')
-rw-r--r--src/core/aio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/aio.h b/src/core/aio.h
index e0b5a388..a1b06e1d 100644
--- a/src/core/aio.h
+++ b/src/core/aio.h
@@ -44,6 +44,7 @@ extern nng_err nni_aio_alloc(nni_aio **, nni_cb, void *arg);
// This must only be called on an object that was allocated
// with nni_aio_allocate.
extern void nni_aio_free(nni_aio *aio);
+extern void nni_aio_free_cb(void *aio);
// nni_aio_stop cancels any unfinished I/O, running completion callbacks,
// but also prevents any new operations from starting (nni_aio_start will