Solomon Boulos has uploaded this change for review.

View Change

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 change 493042. To unsubscribe, or for help writing mail filters, visit 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