mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-08 16:36:14 +00:00
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:
parent
48a27bcaf6
commit
c317b788c0
@ -388,6 +388,8 @@ void igt_paint_image(cairo_t *cr, const char *filename,
|
||||
cairo_surface_destroy(image);
|
||||
|
||||
cairo_restore(cr);
|
||||
|
||||
fclose(f);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user