summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPaulo Zanoni <paulo.r.zanoni@intel.com>2012-04-21 17:51:52 -0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-05-03 13:31:00 +0200
commit0ef7644fe5161d3b50f9550ebbf8cbbabd51706f (patch)
tree507ba026df59fe796f1fac60cd1c72757bd422f8 /tests
parenta10bcaaf668ab16233df10c2742dcb497e17d588 (diff)
modetest: call drmModeFreePlaneResources
24 (16 direct, 8 indirect) bytes in 1 blocks are definitely lost in loss record 2 of 7 at 0x402994D: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) by 0x4A25950: drmMalloc (xf86drm.c:147) by 0x4A2E26D: drmModeGetPlaneResources (xf86drmMode.c:951) by 0x4025FF: dump_planes (modetest.c:276) by 0x4052AF: main (modetest.c:1120) Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests')
-rw-r--r--tests/modetest/modetest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c
index 64809da3..6deed69e 100644
--- a/tests/modetest/modetest.c
+++ b/tests/modetest/modetest.c
@@ -307,6 +307,7 @@ static void dump_planes(void)
}
printf("\n");
+ drmModeFreePlaneResources(plane_resources);
return;
}