mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 13:37:12 +00:00
Fixes for memory leaks reported by Lu Ming Yin, fixes from Howard Chu.
This commit is contained in:
@ -230,7 +230,7 @@ layout_parse(struct window *w, const char *layout, char **cause)
|
||||
/* Check the new layout. */
|
||||
if (!layout_check(lc)) {
|
||||
*cause = xstrdup("size mismatch after applying layout");
|
||||
return (-1);
|
||||
goto fail;
|
||||
}
|
||||
|
||||
/* Resize to the layout size. */
|
||||
|
Reference in New Issue
Block a user