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
Thu Sep 24 13:58:49 UTC 2020


lynxis lazus has submitted this change. ( 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(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, but someone else must approve
  daniel: Looks good to me, approved



diff --git a/src/gb/gprs_bssgp.c b/src/gb/gprs_bssgp.c
index e5b4380..8b8d534 100644
--- a/src/gb/gprs_bssgp.c
+++ b/src/gb/gprs_bssgp.c
@@ -171,6 +171,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: 2
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann at sysmocom.de>
Gerrit-Reviewer: lynxis lazus <lynxis at fe80.eu>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200924/88c1df66/attachment.htm>


More information about the gerrit-log mailing list