Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
libX11.28098
U_Plug-a-memory-leak.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File U_Plug-a-memory-leak.patch of Package libX11.28098
From 20a3f99eba5001925b8b313da3accb7900eb1927 Mon Sep 17 00:00:00 2001 From: Emilio Pozuelo Monfort <pochu@debian.org> Date: Tue, 25 Oct 2016 21:30:15 +0200 Subject: [PATCH] Plug a memory leak This was introduced in 8ea762f. Reported-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Emilio Pozuelo Monfort <pochu@debian.org> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> --- src/FontNames.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/FontNames.c b/src/FontNames.c index e55f338..3e23b5f 100644 --- a/src/FontNames.c +++ b/src/FontNames.c @@ -98,12 +98,14 @@ int *actualCount) /* RETURN */ *ch = '\0'; /* and replace with null-termination */ count++; } else { + Xfree(ch); Xfree(flist); flist = NULL; count = 0; break; } } else { + Xfree(ch); Xfree(flist); flist = NULL; count = 0; -- 2.6.6
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