lib/drmtest: Fix filedesc leak on gem_quiescent_gpu

to not run out of filedescs as some tests call gem_quiescent_gpu
directly.

Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Mika Kuoppala 2013-11-26 09:26:17 +02:00 committed by Daniel Vetter
parent ab7cbf9737
commit fb03ea7737

View File

@ -168,6 +168,7 @@ void gem_quiescent_gpu(int fd)
gem_sync(fd, handle);
igt_drop_caches_set(DROP_RETIRE);
gem_close(fd, handle);
}
/**