From 4b1f9e2cb436e74ce6084dbc35df5f052cb701bf Mon Sep 17 00:00:00 2001 From: David Phillips Date: Sun, 4 Aug 2019 14:21:05 +1200 Subject: Wrap tests in valgrind, clean up memory leaks --- lex.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lex.h') diff --git a/lex.h b/lex.h index a14528f..908d23e 100644 --- a/lex.h +++ b/lex.h @@ -26,5 +26,6 @@ struct token { }; struct token* lex(const char *filename_local, FILE *fin, size_t *len); +void lex_free(struct token *ts, size_t t_count); #endif /* LEX_H */ -- cgit v1.1