Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
0464-erlexec.c-fix-code_checker-warning-potenti...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0464-erlexec.c-fix-code_checker-warning-potential-memory-.patch of Package erlang
From 1e3047c8f2f415e35f52312357c589d60495ae3d Mon Sep 17 00:00:00 2001 From: Kjell Winblad <kjellwinblad@gmail.com> Date: Wed, 17 Mar 2021 14:44:05 +0100 Subject: [PATCH 04/10] erlexec.c: fix code_checker warning (potential memory leak of emu_name) --- erts/etc/common/erlexec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/erts/etc/common/erlexec.c b/erts/etc/common/erlexec.c index 0efacd67a1..2cb5b76cad 100644 --- a/erts/etc/common/erlexec.c +++ b/erts/etc/common/erlexec.c @@ -1041,6 +1041,8 @@ int main(int argc, char **argv) } } + efree(emu_name); + if (process_args) { ADD_BOOT_CONFIG; } -- 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