diff options
Diffstat (limited to 'Src')
-rw-r--r-- | Src/Zle/zle_refresh.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Src/Zle/zle_refresh.c b/Src/Zle/zle_refresh.c index cfcfed3da..c61abb48f 100644 --- a/Src/Zle/zle_refresh.c +++ b/Src/Zle/zle_refresh.c @@ -2644,6 +2644,10 @@ zle_refresh_finish(void) freevideo(); if (region_highlights) + { zfree(region_highlights, sizeof(struct region_highlight) * n_region_highlights); + region_highlights = NULL; + n_region_highlights = 0; + } } |