summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2022-09-01 07:27:04 +0200
committerChuck Lever <chuck.lever@oracle.com>2022-09-26 14:02:21 -0400
commitfd1ef88049de09bc70d60b549992524cfc0e66ff (patch)
tree5680ee3af233c29ea9d5949faea29b72b9fbb70b /tools/perf/scripts/python/exported-sql-viewer.py
parent4ab3442ca384a02abf8b1f2b3449a6c547851873 (diff)
nfsd: Fix a memory leak in an error handling path
If this memdup_user() call fails, the memory allocated in a previous call a few lines above should be freed. Otherwise it leaks. Fixes: 6ee95d1c8991 ("nfsd: add support for upcall version 2") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions