testdisplay: Properly handle the life cycle of framebuffers
authorDamien Lespiau <damien.lespiau@intel.com>
Tue, 3 Sep 2013 18:46:19 +0000 (19:46 +0100)
committerDamien Lespiau <damien.lespiau@intel.com>
Mon, 30 Sep 2013 17:04:21 +0000 (18:04 +0100)
commiteecd0061eb5bf45a3db515fa1cedb1184f98ca44
treec47c53eca700e3aba52d48e727cf207ca7e59a9d
parent5a1d84300ba31bec08c05db7d1c602c80e932021
testdisplay: Properly handle the life cycle of framebuffers

When cycling through the modes, let's make sure to free the previous
framebuffers. This is the perfect occasion to use kmstest_remove_fb().

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
tests/testdisplay.c