Change in osmo-pcu[master]: pcu_sock: fix memleak, allocate pcu_sock_state on stack

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

fixeria gerrit-no-reply at lists.osmocom.org
Sat Feb 8 07:36:20 UTC 2020


Hello pespin, Jenkins Builder, 

I'd like you to reexamine a change. Please visit

    https://gerrit.osmocom.org/c/osmo-pcu/+/17093

to look at the new patch set (#2).

Change subject: pcu_sock: fix memleak, allocate pcu_sock_state on stack
......................................................................

pcu_sock: fix memleak, allocate pcu_sock_state on stack

It was noticed that OsmoPCU leaks memory when trying to reconnect
to the BTS. It could be easily fixed, but we don't really need to
allocate the PCU socket state on heap as we never have more than
one connection.

Change-Id: Iea8930f443caa16f522f7c5375e0004e4e2315cb
---
M src/osmobts_sock.cpp
1 file changed, 26 insertions(+), 52 deletions(-)


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

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: Iea8930f443caa16f522f7c5375e0004e4e2315cb
Gerrit-Change-Number: 17093
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <axilirator at gmail.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200208/97c61eba/attachment.htm>


More information about the gerrit-log mailing list