summaryrefslogtreecommitdiffstats
path: root/src/c_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_utils.c')
-rw-r--r--src/c_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c_utils.c b/src/c_utils.c
index 73d5a3e..2414638 100644
--- a/src/c_utils.c
+++ b/src/c_utils.c
@@ -35,7 +35,7 @@ char
if (line != NULL)
{
ret = ft_strdup(line);
- ft_memdel((void*)&line);
+ line[0] = '\0';
}
tcaps->cpos = 0;
tputs(tgetstr("cr", NULL), 1, ft_putchar);