diff options
author | 2019-08-20 22:21:21 -0500 | |
---|---|---|
committer | 2019-08-21 16:39:29 -0400 | |
commit | 1e672e3644940d83bd94e7cb46bac6bb3627de02 (patch) | |
tree | c0c89d96442a7b4bcca9cfad564447131ba5d3ef /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xprtrdma: Optimize rpcrdma_post_recvs() (diff) | |
download | wireguard-linux-1e672e3644940d83bd94e7cb46bac6bb3627de02.tar.xz wireguard-linux-1e672e3644940d83bd94e7cb46bac6bb3627de02.zip |
NFSv4: Fix a memory leak bug
In nfs4_try_migration(), if nfs4_begin_drain_session() fails, the
previously allocated 'page' and 'locations' are not deallocated, leading to
memory leaks. To fix this issue, go to the 'out' label to free 'page' and
'locations' before returning the error.
Signed-off-by: Wenwen Wang <wenwen@cs.uga.edu>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions