aboutsummaryrefslogtreecommitdiffstats
path: root/src/wayland-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wayland-util.c')
-rw-r--r--src/wayland-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wayland-util.c b/src/wayland-util.c
index 3f95877..748476a 100644
--- a/src/wayland-util.c
+++ b/src/wayland-util.c
@@ -123,7 +123,7 @@ wl_array_add(struct wl_array *array, size_t size)
if (array->alloc < alloc) {
if (array->alloc > 0)
data = realloc(array->data, alloc);
- else
+ else
data = malloc(alloc);
if (data == NULL)