diff options
author | nicm <nicm> | 2024-04-15 08:19:55 +0000 |
---|---|---|
committer | nicm <nicm> | 2024-04-15 08:19:55 +0000 |
commit | e8530c9feedde2fd4b25b0ec1f5bcfe7b3cf8b65 (patch) | |
tree | 6d88944b087d4d34904a17ea0db101204a03da42 /layout-custom.c | |
parent | 553d4cba794b4f81dd42ba139f8dfb54fcd13c16 (diff) |
Fixes for memory leaks reported by Lu Ming Yin, fixes from Howard Chu.
Diffstat (limited to 'layout-custom.c')
-rw-r--r-- | layout-custom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layout-custom.c b/layout-custom.c index d7be5b18..2bfb6d89 100644 --- a/layout-custom.c +++ b/layout-custom.c @@ -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. */ |