diff options
Diffstat (limited to 'libkms')
-rw-r--r-- | libkms/exynos.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libkms/exynos.c b/libkms/exynos.c index 5de2e5a9..0e97fb51 100644 --- a/libkms/exynos.c +++ b/libkms/exynos.c | |||
@@ -88,7 +88,8 @@ exynos_bo_create(struct kms_driver *kms, | |||
88 | pitch = (pitch + 512 - 1) & ~(512 - 1); | 88 | pitch = (pitch + 512 - 1) & ~(512 - 1); |
89 | size = pitch * ((height + 4 - 1) & ~(4 - 1)); | 89 | size = pitch * ((height + 4 - 1) & ~(4 - 1)); |
90 | } else { | 90 | } else { |
91 | return -EINVAL; | 91 | ret = -EINVAL; |
92 | goto err_free; | ||
92 | } | 93 | } |
93 | 94 | ||
94 | memset(&arg, 0, sizeof(arg)); | 95 | memset(&arg, 0, sizeof(arg)); |