Change in osmo-pcu[master]: tests/RLCMACTest: free allocated bitvectors

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

pespin gerrit-no-reply at lists.osmocom.org
Sat Mar 21 01:03:24 UTC 2020


pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-pcu/+/17547 )

Change subject: tests/RLCMACTest: free allocated bitvectors
......................................................................

tests/RLCMACTest: free allocated bitvectors

Change-Id: I6d1e93cb1a07a7bf05483dbc877105a86a17829b
---
M tests/rlcmac/RLCMACTest.cpp
1 file changed, 3 insertions(+), 0 deletions(-)

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



diff --git a/tests/rlcmac/RLCMACTest.cpp b/tests/rlcmac/RLCMACTest.cpp
index bd5da4c..e62d6e4 100644
--- a/tests/rlcmac/RLCMACTest.cpp
+++ b/tests/rlcmac/RLCMACTest.cpp
@@ -278,6 +278,9 @@
 	printf("=== Test decoding of a malformed vector (short length indicator) ===\n");
 	rc = decode_gsm_ra_cap(bv_dec, &data);
 	printf("decode_gsm_ra_cap() returns %d\n", rc);
+
+	bitvec_free(bv_dec);
+	bitvec_free(bv_enc);
 }
 
 int main(int argc, char *argv[])

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

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I6d1e93cb1a07a7bf05483dbc877105a86a17829b
Gerrit-Change-Number: 17547
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <axilirator at gmail.com>
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/20200321/09ca2a89/attachment.htm>


More information about the gerrit-log mailing list