diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2019-03-28 18:23:54 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2019-04-16 19:06:06 +0300 |
commit | e03d0030391689cfd0fbca293d44d83dd7d9e356 (patch) | |
tree | 752cfa048fdba04ecc26b1eb489066bd1f0b5787 /lib/drmtest.c | |
parent | 996de63aec09437c31b256e9d7215d7522b3dce7 (diff) |
lib/igt_fb: Don't leak the bufmgr and batch for converted surfaces
Remember to free the bufmgr and batch after the convert surface is
destroyed. We'll do that by sucking the relevant code into
free_linear_mapping(), and for the sake of symmetry we'll move
the setup code into setup_linear_mapping().
Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Diffstat (limited to 'lib/drmtest.c')
0 files changed, 0 insertions, 0 deletions