Change in libosmocore[master]: gb/gprs_bssgb: ensure the fc timer has been stopped when freeing bssg...

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/.

lynxis lazus gerrit-no-reply at lists.osmocom.org
Wed Sep 23 21:39:16 UTC 2020


lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/20263 )


Change subject: gb/gprs_bssgb: ensure the fc timer has been stopped when freeing bssgp_bvc
......................................................................

gb/gprs_bssgb: ensure the fc timer has been stopped when freeing bssgp_bvc

Change-Id: Id03ebef31bb513e2b3b5bc709a91e9352ebbbc79
---
M src/gb/gprs_bssgp.c
1 file changed, 2 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/63/20263/1

diff --git a/src/gb/gprs_bssgp.c b/src/gb/gprs_bssgp.c
index 8df0006..0adaffc 100644
--- a/src/gb/gprs_bssgp.c
+++ b/src/gb/gprs_bssgp.c
@@ -170,6 +170,8 @@
 {
 	if (!ctx)
 		return;
+
+	osmo_timer_del(&ctx->fc->timer);
 	rate_ctr_group_free(ctx->ctrg);
 	llist_del(&ctx->list);
 	talloc_free(ctx);

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

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Id03ebef31bb513e2b3b5bc709a91e9352ebbbc79
Gerrit-Change-Number: 20263
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200923/44388bef/attachment.htm>


More information about the gerrit-log mailing list