commit 70b6a4dcc6e6693ef61630a14e3cc256a95da7a0 parent 8754ef55a612c7fb78475b0f6d0165c57d336a10 Author: Frederic Cambus <fred@statdns.com> Date: Thu, 25 Oct 2018 12:37:15 +0200 Add missing free() calls in the ansi loader Diffstat:
M | src/loaders/ansi.c | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/loaders/ansi.c b/src/loaders/ansi.c @@ -334,6 +334,7 @@ int ansilove_ansi(struct ansilove_ctx *ctx, struct ansilove_options *options) } loop += ansi_sequence_loop+2; + free(seqGrab); break; } @@ -381,6 +382,7 @@ int ansilove_ansi(struct ansilove_ctx *ctx, struct ansilove_options *options) options->truecolor = true; loop += ansi_sequence_loop+2; + free(seqGrab); break; } }