summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lex.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lex.c b/src/lex.c
index 0b43e19..5c293a3 100644
--- a/src/lex.c
+++ b/src/lex.c
@@ -376,9 +376,6 @@ fastd_lex_t* fastd_lex_init(FILE *file) {
}
void fastd_lex_destroy(fastd_lex_t *lex) {
- if (!lex)
- return;
-
free(lex);
}