diff options
author | Ben Widawsky <ben@bwidawsk.net> | 2017-01-27 21:51:11 -0800 |
---|---|---|
committer | Ben Widawsky <ben@bwidawsk.net> | 2017-02-03 14:16:09 -0800 |
commit | d07a35ff1e5799cc64ab2f3f9b784c74dc02830e (patch) | |
tree | 2cc6717fe6b5d7c55b78a50f21b5e2e3c7596b49 | |
parent | 686b66bb1917cd33952d1183a142a18540966ec5 (diff) |
fixup! Make an offset cause an errormodifiers
-rw-r--r-- | xf86drmMode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xf86drmMode.c b/xf86drmMode.c index 94984ed89..40649ffd1 100644 --- a/xf86drmMode.c +++ b/xf86drmMode.c @@ -1059,7 +1059,7 @@ retry: goto err_allocs; } - if (r->format_modifiers->offset) { + if (r->format_modifiers && r->format_modifiers->offset) { /* Offsets are not yet supported */ drmFree(r->format_modifiers); drmFree(r->formats); |