summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorCorbin McElhanney <corbin.mcelhanney@amd.com>2017-07-10 22:52:10 +0300
committerAlex Deucher <alexander.deucher@amd.com>2017-09-27 01:08:47 +0300
commita85c205ae3d183c196d0af7df336b1315e95faf7 (patch)
tree1954b76ec07546a02fddc0f9bea02f42c1776353 /tools/perf/scripts/python/net_dropmonitor.py
parent4e5095ca06a00fda50e2fcc721b1f923478778a8 (diff)
downloadlinux-a85c205ae3d183c196d0af7df336b1315e95faf7.tar.xz
drm/amd/display: Fix context copy memory leak
This change corrects an error introduced in 355f123f. Instead of using the copy constructor to assign the new context, we swap the pointer. Signed-off-by: Corbin McElhanney <corbin.mcelhanney@amd.com> Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions