summaryrefslogtreecommitdiffabout
path: root/src/lookup.c
Side-by-side diff
Diffstat (limited to 'src/lookup.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/lookup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lookup.c b/src/lookup.c
index f6c0865..7cb95df 100644
--- a/src/lookup.c
+++ b/src/lookup.c
@@ -23,6 +23,7 @@
#include "grecs.h"
#include "wordsplit.h"
#include <fnmatch.h>
+#include <stdlib.h>
static int
_grecs_list_eq(struct grecs_value *a, struct grecs_value *b)
@@ -177,7 +178,7 @@ grecs_match_buf_create(int argc, char **argv, struct grecs_value **labelv)
for (j = i + 1;
j < buf->argc && ISWC(buf->argv[j], '*'); j++) {
- free(buf->argv[j]);
+ free(buf->argv[j]);
grecs_value_free_content(buf->labelv[i]);
}
j -= i;

Return to:

Send suggestions and report system problems to the System administrator.