Projects
openEuler:20.03:LTS:SP1
boost
_service:tar_scm_kernel_repo:backport-increase_...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm_kernel_repo:backport-increase_used_block_count_when_use_-put_mem_block.patch of Package boost
From db3c106f1e80e67f9ed80ee276c5e080519290ad Mon Sep 17 00:00:00 2001 From: zhangyiru <zhangyiru3@huawei.com> Date: Thu, 14 Oct 2021 15:39:19 -0400 Subject: [PATCH] increase used_block_count when use_ put_mem_block fix memleak problem: https://github.com/boostorg/regex/issues/153 Signed-off-by: zhangyiru <zhangyiru3@huawei.com> --- boost/regex/v4/perl_matcher_non_recursive.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/boost/regex/v4/perl_matcher_non_recursive.hpp b/boost/regex/v4/perl_matcher_non_recursive.hpp index eb470a78d..54ce751da 100644 --- a/boost/regex/v4/perl_matcher_non_recursive.hpp +++ b/boost/regex/v4/perl_matcher_non_recursive.hpp @@ -1363,6 +1363,7 @@ bool perl_matcher<BidiIterator, Allocator, traits>::unwind_repeater_counter(bool template <class BidiIterator, class Allocator, class traits> bool perl_matcher<BidiIterator, Allocator, traits>::unwind_extra_block(bool) { + ++used_block_count; saved_extra_block* pmp = static_cast<saved_extra_block*>(m_backup_state); void* condemmed = m_stack_base; m_stack_base = pmp->base; -- 2.27.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.