File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,9 @@ uint32_t compile_options;
6060uint32_t match_options ;
6161uint64_t random_options ;
6262pcre2_match_data * match_data = NULL ;
63+ #ifdef SUPPORT_JIT
6364pcre2_match_data * match_data_jit = NULL ;
65+ #endif
6466pcre2_match_context * match_context = NULL ;
6567size_t match_size ;
6668int dfa_workspace [DFA_WORKSPACE_COUNT ];
@@ -159,8 +161,12 @@ for (i = 0; i < 2; i++)
159161 if (match_data == NULL )
160162 {
161163 match_data = pcre2_match_data_create (32 , NULL );
164+ #ifdef SUPPORT_JIT
162165 match_data_jit = pcre2_match_data_create (32 , NULL );
163166 if (match_data == NULL || match_data_jit == NULL )
167+ #else
168+ if (match_data == NULL )
169+ #endif
164170 {
165171#ifdef STANDALONE
166172 printf ("** Failed to create match data block\n" );
@@ -336,7 +342,9 @@ for (i = 0; i < 2; i++)
336342 }
337343
338344if (match_data != NULL ) pcre2_match_data_free (match_data );
345+ #ifdef SUPPORT_JIT
339346if (match_data_jit != NULL ) pcre2_match_data_free (match_data_jit );
347+ #endif
340348if (match_context != NULL ) pcre2_match_context_free (match_context );
341349
342350return 0 ;
You can’t perform that action at this time.
0 commit comments