summaryrefslogtreecommitdiff
path: root/src/compositor-wayland.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compositor-wayland.c')
-rw-r--r--src/compositor-wayland.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compositor-wayland.c b/src/compositor-wayland.c
index d2d89427..8ddc8bcd 100644
--- a/src/compositor-wayland.c
+++ b/src/compositor-wayland.c
@@ -879,7 +879,7 @@ wayland_output_create_for_config(struct wayland_compositor *c,
name = str;
}
if (!name)
- name = WINDOW_TITLE;
+ name = strdup(WINDOW_TITLE);
weston_config_section_get_string(config_section,
"mode", &mode, "1024x600");