Change in osmo-pcu[master]: bts: delete pch_timer list in destructor

osmith gerrit-no-reply at lists.osmocom.org
Mon Aug 23 12:51:23 UTC 2021


osmith has uploaded a new patch set (#2). ( https://gerrit.osmocom.org/c/osmo-pcu/+/25217 )

Change subject: bts: delete pch_timer list in destructor
......................................................................

bts: delete pch_timer list in destructor

Run bts_pch_timer_remove() on each entry of the BTS specific pch_timer
list, so we don't have a memory leak and so the timer doesn't
potentially fire for a deallocated BTS.

Fixes: d3c7591 ("Add counters: pcu.bts.N.pch.requests.timeout")
Change-Id: Ia5e33d1894408e93a51c452002ef2f5758808269
---
M src/bts.cpp
M src/bts_pch_timer.c
M src/bts_pch_timer.h
M tests/alloc/AllocTest.cpp
M tests/alloc/AllocTest.err
5 files changed, 39 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/17/25217/2
-- 
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/25217
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: Ia5e33d1894408e93a51c452002ef2f5758808269
Gerrit-Change-Number: 25217
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-CC: Jenkins Builder
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210823/00b482cb/attachment.htm>


More information about the gerrit-log mailing list