Change in osmo-bts[master]: trx_sched_clean(): also free() the shadow timeslot

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
Fri Oct 8 16:47:47 UTC 2021


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bts/+/25732 )


Change subject: trx_sched_clean(): also free() the shadow timeslot
......................................................................

trx_sched_clean(): also free() the shadow timeslot

Change-Id: Ic14e9de7487ba8152ffb1aa1bab508a2b9a11ea0
Related: OS#5248
---
M src/common/scheduler.c
1 file changed, 3 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/32/25732/1

diff --git a/src/common/scheduler.c b/src/common/scheduler.c
index 17fb537..5118904 100644
--- a/src/common/scheduler.c
+++ b/src/common/scheduler.c
@@ -694,6 +694,9 @@
 		/* Clean primary and shadow timeslots */
 		trx_sched_clean_ts(ts);
 		trx_sched_clean_ts(ts->vamos.peer);
+
+		talloc_free(ts->vamos.peer);
+		ts->vamos.peer = NULL;
 	}
 }
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/25732
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Ic14e9de7487ba8152ffb1aa1bab508a2b9a11ea0
Gerrit-Change-Number: 25732
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211008/c588ddaf/attachment.htm>


More information about the gerrit-log mailing list