Change in osmo-pcu[master]: gprs_rlcmac_sched: don't leak a sched_dummy()

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 Dec 30 22:34:40 UTC 2020


lynxis lazus has submitted this change. ( https://gerrit.osmocom.org/c/osmo-pcu/+/21910 )

Change subject: gprs_rlcmac_sched: don't leak a sched_dummy()
......................................................................

gprs_rlcmac_sched: don't leak a sched_dummy()

Change-Id: Iea0fc51809c78514c85e45e7f499a531c4ea1bcf
---
M src/gprs_rlcmac_sched.cpp
1 file changed, 0 insertions(+), 1 deletion(-)

Approvals:
  fixeria: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/gprs_rlcmac_sched.cpp b/src/gprs_rlcmac_sched.cpp
index e6f7176..70d8237 100644
--- a/src/gprs_rlcmac_sched.cpp
+++ b/src/gprs_rlcmac_sched.cpp
@@ -482,7 +482,6 @@
 	/* Prio 3: send dummy contol message */
 	else if ((msg = sched_dummy())) {
 		/* increase counter */
-		msg = sched_dummy();
 		gsmtap_cat = PCU_GSMTAP_C_DL_DUMMY;
 	} else {
 		return -ENOMEM;

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

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: Iea0fc51809c78514c85e45e7f499a531c4ea1bcf
Gerrit-Change-Number: 21910
Gerrit-PatchSet: 2
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy 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/20201230/1fe4b1f0/attachment.htm>


More information about the gerrit-log mailing list