aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-03-20 23:59:44 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2020-03-20 23:59:44 +0100
commit2f1692495972556a319d199f33a12e17efbfb038 (patch)
tree6b650d3932b55297580c62408123306158e42758
parent570f9135cdf59de28ad8f5778260faca7c09d7fd (diff)
tests/RLCMACTest: free allocated bitvectors
-rw-r--r--tests/rlcmac/RLCMACTest.cpp3
1 files changed, 3 insertions, 0 deletions
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 @@ void testRAcap(void *test_ctx)
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[])