diff options
Diffstat (limited to 'spawn.c')
-rw-r--r-- | spawn.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -179,6 +179,7 @@ spawn_window(struct spawn_context *sc, char **cause) /* Set the name of the new window. */ if (~sc->flags & SPAWN_RESPAWN) { + free(w->name); if (sc->name != NULL) { w->name = format_single(item, sc->name, c, s, NULL, NULL); |