Skip to content

Commit 9881c3e

Browse files
committed
lib-storage: Fixed search arg initialization tracking for INTHREAD
1 parent 391970e commit 9881c3e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib-storage/mail-search.c

+1
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ void mail_search_arg_init(struct mail_search_args *args,
105105
thread_args->pool = args->pool;
106106
thread_args->args = arg->value.subargs;
107107
thread_args->simplified = TRUE;
108+
thread_args->init_refcount = 1;
108109
/* simplification should have unnested all
109110
inthreads, so we'll assume that
110111
have_inthreads=FALSE */

0 commit comments

Comments
 (0)