summaryrefslogtreecommitdiff
path: root/source3/smbd/aio.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/aio.c')
-rw-r--r--source3/smbd/aio.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbd/aio.c b/source3/smbd/aio.c
index 07b8388fba..44081f69a0 100644
--- a/source3/smbd/aio.c
+++ b/source3/smbd/aio.c
@@ -67,6 +67,7 @@ static void smbd_aio_signal_handler(struct tevent_context *ev_ctx,
info->si_value.sival_ptr;
smbd_aio_complete_aio_ex(aio_ex);
+ TALLOC_FREE(aio_ex);
}
@@ -931,8 +932,6 @@ void smbd_aio_complete_aio_ex(struct aio_extra *aio_ex)
if (!handle_aio_completed(aio_ex, &ret)) {
return;
}
-
- TALLOC_FREE(aio_ex);
}
/****************************************************************************