From d6ef32981a2402ec7b26c851ef13afd27a5582d8 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Wed, 6 Mar 2024 17:00:33 +0100 Subject: free old results --- src/search.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/search.h') diff --git a/src/search.h b/src/search.h index fa0f2e2..a8aaf90 100644 --- a/src/search.h +++ b/src/search.h @@ -66,5 +66,6 @@ int ts_string_match(utf8_int8_t *first, utf8_int8_t *second); ts_search_result* ts_create_empty_search_result(); bool ts_string_contains(utf8_int8_t *text_to_search, utf8_int8_t *text_to_find, ts_array *text_matches); void ts_start_search(utf8_int8_t *path, utf8_int8_t *filter, utf8_int8_t *query, int thread_count, int max_file_size); +void ts_destroy_result(ts_search_result* result); #endif \ No newline at end of file -- cgit v1.2.3-70-g09d2