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
Fri Mar 20 23:00:27 UTC 2020


pespin has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/47/17547/1

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-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200320/21075a48/attachment.htm>


More information about the gerrit-log mailing list