aboutsummaryrefslogtreecommitdiff
path: root/src/free_token.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/free_token.c')
-rw-r--r--src/free_token.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/free_token.c b/src/free_token.c
index 083484c..a7b1ef2 100644
--- a/src/free_token.c
+++ b/src/free_token.c
@@ -6,7 +6,7 @@
/* By: dkaiser <dkaiser@student.42heilbronn.de +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/06/27 14:38:57 by dkaiser #+# #+# */
-/* Updated: 2024/07/08 16:44:38 by dkaiser ### ########.fr */
+/* Updated: 2024/07/09 14:30:02 by dkaiser ### ########.fr */
/* */
/* ************************************************************************** */
@@ -23,8 +23,6 @@ void free_token(t_token *token)
void free_token_and_connect(t_token *token)
{
- if (token->type == STRING_TOKEN)
- free(token->content.string);
if (token->previous != NULL)
token->previous->next = token->next;
if (token->next != NULL)