compositor-wayland: don't free unallocated memory

Assigning a string constant (i.e. memory that we didn't allocate)
to a char* pointer and then freeing that pointer is bad news.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
diff --git a/src/compositor-wayland.c b/src/compositor-wayland.c
index d2d8942..8ddc8bc 100644
--- a/src/compositor-wayland.c
+++ b/src/compositor-wayland.c
@@ -879,7 +879,7 @@
 		name = str;
 	}
 	if (!name)
-		name = WINDOW_TITLE;
+		name = strdup(WINDOW_TITLE);
 
 	weston_config_section_get_string(config_section,
 					 "mode", &mode, "1024x600");