OpenAFS Master Repository branch, master, updated. BP-openafs-stable-1_8_x-165-g7523397
Gerrit Code Review
gerrit@openafs.org
Thu, 5 Jul 2018 23:38:01 -0400
The following commit has been merged in the master branch:
commit 7523397333c0f8c6a08312434968d84b8ff56306
Author: Andrew Deason <adeason@sinenomine.net>
Date: Fri Jun 29 15:25:48 2018 -0500
afs: Make afs_osi_Free(NULL) a no-op
In userspace, we assume that free(NULL) does nothing, which makes
certain cleanup code paths simpler. This may or may not be true for
our free() abstractions that can run in the kernel (like afs_osi_Free,
rxi_Free, etc), which is confusing. To make the higher-level free()
abstractions more consistent, change afs_osi_Free to guarantee that
passing a NULL pointer does nothing.
Change-Id: If7c7011795f66464eeb578eacfc943475b4d59f8
Reviewed-on: https://gerrit.openafs.org/13236
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
src/afs/afs_osi_alloc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
--
OpenAFS Master Repository