diff options
Diffstat (limited to 'src/misspell.c')
-rw-r--r-- | src/misspell.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/misspell.c b/src/misspell.c index 8992c75e..f5354fa8 100644 --- a/src/misspell.c +++ b/src/misspell.c @@ -6,8 +6,8 @@ * later) as published by the Free Software Foundation. */ -#include <stdlib.h> -#include <string.h> +#include <nft.h> + #include <limits.h> #include <utils.h> #include <misspell.h> @@ -72,7 +72,7 @@ static unsigned int string_distance(const char *a, const char *b) ret = DISTANCE(len_a, len_b); - xfree(distance); + free(distance); return ret; } |