git.samba.org
/
amitay
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3: smbd: In aio_del_req_from_fsp() talloc_free(fsp->aio_requests[]) when fsp->num_ai...
[amitay/samba.git]
/
source3
/
smbd
/
aio.c
diff --git
a/source3/smbd/aio.c
b/source3/smbd/aio.c
index 0f824f5aa1f69171e7fb71f8c4ec099c313e4cde..afe76608cd3ab0a450a9f9a8dacd336026374770 100644
(file)
--- a/
source3/smbd/aio.c
+++ b/
source3/smbd/aio.c
@@
-103,6
+103,7
@@
static int aio_del_req_from_fsp(struct aio_req_fsp_link *lnk)
if (fsp->num_aio_requests == 0) {
tevent_wait_done(fsp->deferred_close);
+ TALLOC_FREE(fsp->aio_requests);
}
return 0;
}