diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-08-14 04:44:31 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-08-14 04:44:31 +0200 |
commit | 61cc8fdedcb41fd226c2d866e3a8c551591cd7e1 (patch) | |
tree | 0ab49eecce9af53a7298d66f8c709827565b7410 | |
parent | 9929ac9123983ab82bf6b2eb609b19896e1af210 (diff) | |
download | fastd-61cc8fdedcb41fd226c2d866e3a8c551591cd7e1.tar fastd-61cc8fdedcb41fd226c2d866e3a8c551591cd7e1.zip |
lex: don't check for NULL before free
-rw-r--r-- | src/lex.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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); } |