Fix memory leaks

Fix a couple leaks caught by valgrind.
diff --git a/src/shell.c b/src/shell.c
index 3da5321..5a09bb6 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -2002,6 +2002,7 @@
 	wl_list_remove(&shsurf->surface_destroy_listener.link);
 	shsurf->surface->configure = NULL;
 	ping_timer_destroy(shsurf);
+	free(shsurf->title);
 
 	wl_list_remove(&shsurf->link);
 	free(shsurf);