mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-22 18:09:49 +01:00
backend/drm: fix di_info memory leak
This commit is contained in:
parent
47a250ae12
commit
2c30500ce1
1 changed files with 2 additions and 0 deletions
|
@ -83,6 +83,8 @@ void parse_edid(struct wlr_drm_connector *conn, size_t len, const uint8_t *data)
|
|||
|
||||
output->model = di_info_get_model(info);
|
||||
output->serial = di_info_get_serial(info);
|
||||
|
||||
di_info_destroy(info);
|
||||
}
|
||||
|
||||
const char *drm_connector_status_str(drmModeConnection status) {
|
||||
|
|
Loading…
Reference in a new issue