diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2019-12-03 16:47:24 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2019-12-04 19:00:57 +0200 |
commit | 9bb52ff1bc170897dbc8948282e076017ea3dfd2 (patch) | |
tree | cd32864d503cd4add59f7c9582b1647f71e302c4 /lib/intel_batchbuffer.c | |
parent | e1503da2d461b2a8d92808d6945a3cd30e48d21b (diff) |
lib/igt_kms: Don't leak fds when forcing connector multiple times
Close the new sysfs directory fd when we've already forced
the same connector previously. Currently we're leaking the fd.
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'lib/intel_batchbuffer.c')
0 files changed, 0 insertions, 0 deletions