---
 src/quic_rx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/quic_rx.c b/src/quic_rx.c
index abd9e9fef..6b22ed533 100644
--- a/src/quic_rx.c
+++ b/src/quic_rx.c
@@ -816,7 +816,7 @@ static inline void qc_try_store_new_token(struct server *s,
        stok = &s->per_thr[tid].quic_retry_token;
        stok_ptr = istptr(*stok);
        if (len > istlen(*stok)) {
-               stok_ptr = realloc(stok_ptr, len);
+               stok_ptr = my_realloc2(stok_ptr, len);
                if (stok_ptr)
                        s->per_thr[tid].quic_retry_token.ptr = stok_ptr;
                else {
-- 
2.46.0.windows.1



Reply via email to