check ptr value before dereferencing

master
Francisco 4 years ago committed by Francisco Paisana
parent dc763b5045
commit 9b7060a098

@ -196,7 +196,9 @@ void cc_buffer_handler::deallocate_cc()
void cc_buffer_handler::reset() void cc_buffer_handler::reset()
{ {
if (not empty()) {
cc_softbuffers->clear(); cc_softbuffers->clear();
}
} }
ue::ue(uint16_t rnti_, ue::ue(uint16_t rnti_,

Loading…
Cancel
Save