>From <[email protected]>:

[email protected] has uploaded this change for review. ( 
https://review.gerrithub.io/387244


Change subject: sal: clean up gsh_malloc(), gsh_calloc(), and gsh_free()
......................................................................

sal: clean up gsh_malloc(), gsh_calloc(), and gsh_free()

gsh_malloc() and gsh_calloc() always return a valid pointer (or
they abort()), no need to check != NULL.

gsh_free() (like free(3)) handles NULL, no need to check for
ptr != NULL before calling gsh_free().

Change-Id: Iab618f675000658a4d81be3821873aedebe4f63f
Signed-off-by: Kaleb S. KEITHLEY <[email protected]>
---
M src/SAL/nfs4_clientid.c
M src/SAL/nfs4_owner.c
M src/SAL/nlm_owner.c
M src/SAL/state_lock.c
M src/SAL/state_misc.c
5 files changed, 12 insertions(+), 24 deletions(-)



  git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha 
refs/changes/44/387244/1
-- 
To view, visit https://review.gerrithub.io/387244
To unsubscribe, visit https://review.gerrithub.io/settings

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iab618f675000658a4d81be3821873aedebe4f63f
Gerrit-Change-Number: 387244
Gerrit-PatchSet: 1
Gerrit-Owner: [email protected]
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to