Fatih Acar has uploaded this change for review. ( https://review.gerrithub.io/437324 Change subject: SAL: fix multiple state reference leaks ...................................................................... SAL: fix multiple state reference leaks Note that for TEST_STATEID, checking for NFS4_OK is not enough as it may return NFS4ERR_REPLAY along with a referenced state. Checking for a NULL state does the job. Change-Id: Ic7d0dbc7f5db2f899b6f0a5d31b57b7fb6517938 Signed-off-by: Fatih Acar <fatih.acar@gandi.net> --- M src/Protocols/NFS/nfs4_op_free_stateid.c M src/Protocols/NFS/nfs4_op_layoutget.c M src/Protocols/NFS/nfs4_op_test_stateid.c 3 files changed, 3 insertions(+), 2 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/24/437324/1 -- To view, visit https://review.gerrithub.io/437324 To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-MessageType: newchange Gerrit-Change-Id: Ic7d0dbc7f5db2f899b6f0a5d31b57b7fb6517938 Gerrit-Change-Number: 437324 Gerrit-PatchSet: 1 Gerrit-Owner: Fatih Acar <fatih@gandi.net>