mirror of
https://git.openafs.org/openafs.git
synced 2025-01-22 17:00:15 +00:00
bypasscache: free in order
we need to free this, but while the pointer is still good Change-Id: I5afa3505b764c5bf72811f60f63e29c80a29c5af Reviewed-on: http://gerrit.openafs.org/5562 Reviewed-by: Jeffrey Altman <jaltman@openafs.org> Reviewed-by: Derrick Brashear <shadow@dementix.org> Tested-by: Derrick Brashear <shadow@dementix.org>
This commit is contained in:
parent
f2cba414c1
commit
df3e4145e7
@ -661,8 +661,8 @@ done:
|
||||
osi_Free(bparms, sizeof(struct nocache_read_request));
|
||||
#ifndef UKERNEL
|
||||
/* in UKERNEL, the "pages" are passed in */
|
||||
osi_Free(auio, sizeof(struct uio));
|
||||
osi_Free(iovecp, auio->uio_iovcnt * sizeof(struct iovec));
|
||||
osi_Free(auio, sizeof(struct uio));
|
||||
#endif
|
||||
return code;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user