summaryrefslogtreecommitdiff
path: root/src/search.h
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-03-03 22:09:16 +0100
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-03-03 22:09:16 +0100
commit7f1357495e2ec9c1432b0f09bb10eeb238664a0f (patch)
tree98c12961da820a332f037e62c590920870d009ac /src/search.h
parent288497ada51ef25fb8fa7df8973c670a68ca032f (diff)
replace malloc with memory_bucket, free prev result
Diffstat (limited to 'src/search.h')
-rw-r--r--src/search.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/search.h b/src/search.h
index f8ddc6c..e9464b5 100644
--- a/src/search.h
+++ b/src/search.h
@@ -24,6 +24,8 @@ typedef struct t_ts_search_result
ts_array filters;
int match_count;
int file_count;
+ ts_memory_bucket memory;
+ struct t_ts_search_result* prev_result;
// thread syncing
ts_mutex mutex;