Skip to content

Commit

Permalink
QLOG: Fix filter lexing
Browse files Browse the repository at this point in the history
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from openssl#22037)
  • Loading branch information
hlandau authored and Sashan committed Feb 12, 2024
1 parent d58c2a4 commit d33a4c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ssl/quic/qlog.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ void ossl_qlog_free(QLOG *qlog)
if (qlog == NULL)
return;

ossl_json_flush(&qlog->json);
ossl_json_cleanup(&qlog->json);
BIO_free_all(qlog->bio);
OPENSSL_free((char *)qlog->info.title);
Expand Down Expand Up @@ -573,7 +574,7 @@ static int lex_extract_to(struct lexer *lex, char c,
return 0;

*str = p;
*str_l = term_end - s;
*str_l = s - p;
lex->p = ++s;
return 1;
}
Expand Down

0 comments on commit d33a4c4

Please sign in to comment.