fix mem leak in NAS test

This commit is contained in:
Andre Puschmann 2018-03-06 18:45:31 +01:00
parent cd0373c533
commit b5421301af
1 changed files with 1 additions and 0 deletions

View File

@ -76,6 +76,7 @@ public:
printf("NAS generated SDU (len=%d):\n", sdu->N_bytes);
last_sdu_len = sdu->N_bytes;
srslte_vec_fprint_byte(stdout, sdu->msg, sdu->N_bytes);
byte_buffer_pool::get_instance()->deallocate(sdu);
}
std::string get_rb_name(uint32_t lcid) { return std::string("lcid"); }
uint32_t get_last_sdu_len() { return last_sdu_len; }