Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP4:GA
virglrenderer
0003-6eb13f7a-vrend-fix-memory-leak-in-int-blit...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0003-6eb13f7a-vrend-fix-memory-leak-in-int-blit-context.patch of Package virglrenderer
From 6eb13f7a2dcf391ec9e19b4c2a79e68305f63c22 Mon Sep 17 00:00:00 2001 From: Li Qiang <liq3ea@gmail.com> Date: Mon, 26 Dec 2016 21:23:45 -0500 Subject: [PATCH] vrend: fix memory leak in int blit context The 'blit_ctx->initialised' is not setted to true. Every time init blit context, it will create a new 'blit_ctx->gl_context' thus causing a memory leak. This patch avoid this. Signed-off-by: Li Qiang <liq3ea@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com> Index: virglrenderer-0.5.0/src/vrend_blitter.c =================================================================== --- virglrenderer-0.5.0.orig/src/vrend_blitter.c +++ virglrenderer-0.5.0/src/vrend_blitter.c @@ -289,6 +289,7 @@ static void vrend_renderer_init_blit_ctx return; } + blit_ctx->initialised = true; ctx_params.shared = true; ctx_params.major_ver = VREND_GL_VER_MAJOR; ctx_params.minor_ver = VREND_GL_VER_MINOR;
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