diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-03-20 23:59:44 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-03-20 23:59:44 +0100 |
commit | 2f1692495972556a319d199f33a12e17efbfb038 (patch) | |
tree | 6b650d3932b55297580c62408123306158e42758 /tests | |
parent | 570f9135cdf59de28ad8f5778260faca7c09d7fd (diff) |
tests/RLCMACTest: free allocated bitvectors
Change-Id: I6d1e93cb1a07a7bf05483dbc877105a86a17829b
Diffstat (limited to 'tests')
-rw-r--r-- | tests/rlcmac/RLCMACTest.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/rlcmac/RLCMACTest.cpp b/tests/rlcmac/RLCMACTest.cpp index bd5da4c8..e62d6e4e 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[]) |