Skip to content

Commit

Permalink
fix critical section
Browse files Browse the repository at this point in the history
  • Loading branch information
Depetrol committed Oct 18, 2024
1 parent 0e84b71 commit ba805e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/lf_token.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ lf_token_t* _lf_get_token(token_template_t* tmplt) {
tmplt->token->ref_count);
// Free any previous value in the token.
_lf_free_token_value(tmplt->token);
LF_CRITICAL_SECTION_EXIT(GLOBAL_ENVIRONMENT);
return tmplt->token;
}
LF_CRITICAL_SECTION_EXIT(GLOBAL_ENVIRONMENT);
Expand Down

0 comments on commit ba805e1

Please sign in to comment.