Skip to content
Commit 59fb3066 authored by Christian Engelmayer's avatar Christian Engelmayer Committed by J. Bruce Fields
Browse files

sunrpc: potential memory leak in function rdma_read_xdr



In case the check on ch_count fails the cleanup path is skipped and the
previously allocated memory 'rpl_map', 'chl_map' is not freed.

Reported by Coverity.

Signed-off-by: default avatarChristian Engelmayer <christian.engelmayer@frequentis.com>
Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
parent e4636d53
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment