From 0ebba5567b522ab259affe0d6a896f2377f30eca Mon Sep 17 00:00:00 2001 From: Suganya-Sugumar <222150366+Suganya-Sugumar@users.noreply.github.com> Date: Thu, 26 Feb 2026 03:24:30 +0000 Subject: [PATCH] RDKB-63013 native bld test --- source/jst_session.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/jst_session.c b/source/jst_session.c index ceec720..e342f3f 100644 --- a/source/jst_session.c +++ b/source/jst_session.c @@ -75,6 +75,12 @@ static duk_ret_t session_start(duk_context *ctx) { CosaPhpExtLog("%s: entered\n", __PRETTY_FUNCTION__); const char* cookie; + /* ----------- MEMORY LEAK FOR COVERITY TEST ----------- */ + char *test = malloc(100); // allocate 100 bytes + test[0] = 'a'; + /* intentionally do nothing with leak or free it */ + /* --------------------------------------------------------------- */ + /* if session already created then do nothing */ if(session_identifier) {