From 450dbb986b10606a4052a934fb6ad9006eba6a4b Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 4 Aug 2020 16:18:24 +0200 Subject: Freed leak --- src/b_export.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/b_export.c') diff --git a/src/b_export.c b/src/b_export.c index fa9a6d1..4e3b4c7 100644 --- a/src/b_export.c +++ b/src/b_export.c @@ -118,6 +118,7 @@ uint8_t { ft_sprintf(fmt, "%s=%s", *ptr, varval); b_add_to_env_from_globals(*ptr, fmt, msh); + ft_memdel((void*)&varval); } } else if (next == FALSE && check_equals(*ptr) == TRUE) -- cgit v1.2.3