From 2327a33e7d27177b1f6f3969cfdac5944c30ae27 Mon Sep 17 00:00:00 2001 From: neru Date: Tue, 12 May 2026 16:41:49 -0300 Subject: [PATCH] fix: wrong names --- src/proxy/tinymitm/raai-helper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/proxy/tinymitm/raai-helper.cpp b/src/proxy/tinymitm/raai-helper.cpp index 51661a6..b1a2a5f 100644 --- a/src/proxy/tinymitm/raai-helper.cpp +++ b/src/proxy/tinymitm/raai-helper.cpp @@ -11,7 +11,7 @@ void WolfSSLDeleter::operator()(WC_RNG* rng) if (rng) { wc_FreeRng(rng); - delete r; + delete rng; } } void WolfSSLDeleter::operator()(RsaKey* key) @@ -19,7 +19,7 @@ void WolfSSLDeleter::operator()(RsaKey* key) if (key) { wc_FreeRsaKey(key); - delete k; + delete key; } } void WolfSSLDeleter::operator()(WOLFSSL_CTX* ctx)