Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP4:GA
xf86-video-modesetting
u_07-fix-memory-leak-in-msUpdatePacked.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File u_07-fix-memory-leak-in-msUpdatePacked.patch of Package xf86-video-modesetting
From 19792b1051691907e3dd5375b6dfccaa1d264316 Mon Sep 17 00:00:00 2001 From: Martin Wilck <martin.wilck@ts.fujitsu.com> Date: Mon, 1 Feb 2016 10:33:04 +0100 Subject: [PATCH] fix memory leak in msUpdatePacked Patch-mainline: never References: bsc#962344 The allocated prect pointer needs to be freed. Signed-off-by: Egbert Eich <eich@suse.com> --- src/driver.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/driver.c b/src/driver.c index 569d3b6..1f0618b 100644 --- a/src/driver.c +++ b/src/driver.c @@ -939,6 +939,7 @@ msUpdatePacked(ScreenPtr pScreen, shadowBufPtr pBuf) tiles = RegionFromRects(nrects, prect, CT_NONE); RegionIntersect(damage, damage, tiles); RegionDestroy(tiles); + free(prect); } while (0); if (use_ms_shadow) -- 2.1.0
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