diff options
-rw-r--r-- | src/common_drm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common_drm.c b/src/common_drm.c index 7ac245f..1ae7c8d 100644 --- a/src/common_drm.c +++ b/src/common_drm.c @@ -338,6 +338,8 @@ static DisplayModePtr common_drm_conn_get_modes(xf86OutputPtr output) mon->flags |= MONITOR_EDID_COMPLETE_RAWDATA; xf86OutputSetEDID(output, mon); + drmModeFreePropertyBlob(edid); + /* modes should already be available */ for (i = 0; i < conn->mode_output->count_modes; i++) { DisplayModePtr mode = xnfalloc(sizeof *mode); |