igt_fb: Close the image file when we are done with it

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
This commit is contained in:
Tvrtko Ursulin 2015-04-30 12:27:54 +01:00 committed by Thomas Wood
parent 48a27bcaf6
commit c317b788c0

View File

@ -388,6 +388,8 @@ void igt_paint_image(cairo_t *cr, const char *filename,
cairo_surface_destroy(image);
cairo_restore(cr);
fclose(f);
}
/**