Xueqian Hu has uploaded this change for review.

View Change

Fix memory leak in DRC

When we allocate a new tpc drc in alloc_tcp_drc()
we actually do allocate memory for drc->xt.t during
rbtx_init call. But when we free a drc in free_tcp_drc()
we are not actually freeing this pointer, which will
cause a memory leak.

Change-Id: Idfa4ab24686daefb11b8c1ffd92a711e624497e7
Signed-off-by: Xueqian Hu <xh140312@outlook.com>
---
M src/RPCAL/nfs_dupreq.c
1 file changed, 1 insertion(+), 0 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/59/1176959/1

To view, visit change 1176959. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Idfa4ab24686daefb11b8c1ffd92a711e624497e7
Gerrit-Change-Number: 1176959
Gerrit-PatchSet: 1
Gerrit-Owner: Xueqian Hu <xh140312@outlook.com>