From 93f307f99188bdba8dc783abb8627d0abb5b871d Mon Sep 17 00:00:00 2001 From: salad Date: Tue, 15 Dec 2020 14:17:51 +0100 Subject: noleak ???????????????? --- src/c_utils.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/c_utils.c') diff --git a/src/c_utils.c b/src/c_utils.c index 048b845..f5e66fe 100644 --- a/src/c_utils.c +++ b/src/c_utils.c @@ -32,11 +32,12 @@ char write(1, "\n", 1); tputs(tgetstr("cr", NULL), 1, ft_putchar); c_set_term_raw(0); - if (line != NULL) - { - ret = ft_strdup(line); - *line = '\0'; - } + (void)line; + /* if (line != NULL) */ + /* { */ + /* ret = ft_strdup(line); */ + /* *line = '\0'; */ + /* } */ tcaps->cpos = 0; tputs(tgetstr("cr", NULL), 1, ft_putchar); if (i < tcaps->nlines && tcaps->nlines != 1) -- cgit v1.2.3