Change in ...nfs-ganesha[next]: Fix memory leak in V3 proxy RPC layer.
Solomon Boulos has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/493042 ) Change subject: Fix memory leak in V3 proxy RPC layer. ...................................................................... Fix memory leak in V3 proxy RPC layer. I was missing an xdr_free. After xdr_replymsg runs it may have produced allocations (despite having a buffer given to it). These bytes need to be explicitly cleaned up with an xdr_free without smashing the provided output buffer (often on the stack). Change-Id: Icb0dcfc043c1f49d15808722299c97a00b3dd955 Testing: ran cthon04 basic tests. Signed-off-by: Solomon Boulos <boulos@google.com> --- M src/FSAL/FSAL_PROXY_V3/rpc.c 1 file changed, 22 insertions(+), 12 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/42/493042/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/493042 To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-Change-Id: Icb0dcfc043c1f49d15808722299c97a00b3dd955 Gerrit-Change-Number: 493042 Gerrit-PatchSet: 1 Gerrit-Owner: Solomon Boulos <boulos@google.com> Gerrit-MessageType: newchange
participants (1)
-
Solomon Boulos (GerritHub)