From d199ea3a03898a1acd98fd523831050d23e5d276 Mon Sep 17 00:00:00 2001 From: jxw Date: Tue, 26 Aug 2025 03:54:43 +0000 Subject: [PATCH] update frameworks/js/napi/http/async_context/include/request_context.h. Signed-off-by: jxw --- frameworks/js/napi/http/async_context/include/request_context.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frameworks/js/napi/http/async_context/include/request_context.h b/frameworks/js/napi/http/async_context/include/request_context.h index 2e0453259..ee101fd95 100644 --- a/frameworks/js/napi/http/async_context/include/request_context.h +++ b/frameworks/js/napi/http/async_context/include/request_context.h @@ -201,7 +201,7 @@ private: #if HAS_NETMANAGER_BASE std::unique_ptr networkProfilerUtils_; #endif - CURL *curlHandle_; + CURL *curlHandle_ = nullptr; #ifdef HTTP_HANDOVER_FEATURE RequestHandoverInfo requestHandoverInfo_; #endif -- Gitee