Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:20
erlang
1332-erlc-suppress-code-checker-warning-for-int...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 1332-erlc-suppress-code-checker-warning-for-intended-leak.patch of Package erlang
From 1bc047cf740db31cc67e9cd557b710e90f8de68f Mon Sep 17 00:00:00 2001 From: Kjell Winblad <kjellwinblad@gmail.com> Date: Wed, 17 Mar 2021 10:12:54 +0100 Subject: [PATCH 02/10] erlc: suppress code checker warning for intended leak --- erts/etc/common/erlc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/erts/etc/common/erlc.c b/erts/etc/common/erlc.c index 6b00a1f48f..b972e14c6c 100644 --- a/erts/etc/common/erlc.c +++ b/erts/etc/common/erlc.c @@ -186,6 +186,9 @@ set_env(char *key, char *value) efree(str); #endif #endif + /* codechecker_intentional [Malloc] we may leak str if we don't + have copying putenv but that is fine since we only have a + constant amount of environment variables */ } static void -- 2.26.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor