diff options
author | nicm <nicm> | 2021-08-23 11:04:21 +0000 |
---|---|---|
committer | nicm <nicm> | 2021-08-23 11:04:21 +0000 |
commit | 4a753dbefc2e67c218cf41141eaa6afab00f774a (patch) | |
tree | 6a52781c86c30894be0e2161c31154b3bdf953a0 /spawn.c | |
parent | 3ed37a207988bc6e96dc673ae4564a4efd682ea6 (diff) | |
download | rtmux-4a753dbefc2e67c218cf41141eaa6afab00f774a.tar.gz rtmux-4a753dbefc2e67c218cf41141eaa6afab00f774a.tar.bz2 rtmux-4a753dbefc2e67c218cf41141eaa6afab00f774a.zip |
Fix a few memory leaks.
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); |