libansilove

Library for converting ANSI, ASCII, and other formats to PNG
Log | Files | Refs | README | LICENSE

commit edc6f1f802a81d48816f2a8af921a44e59153f22
parent baeb5810cf13c4c60cae079eeea6ab8ccc28d7ca
Author: Frederic Cambus <fred@statdns.com>
Date:   Thu,  1 Nov 2018 10:17:33 +0100

Free seqGrab instead of setting it to NULL

Diffstat:
Msrc/loaders/ansi.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/loaders/ansi.c b/src/loaders/ansi.c @@ -176,9 +176,8 @@ int ansilove_ansi(struct ansilove_ctx *ctx, struct ansilove_options *options) row = seq_line-1; column = seq_column-1; - seqGrab = NULL; - loop += ansi_sequence_loop+2; + free(seqGrab); break; }