Fix: memory leak occurs when memblock is exhausted.

(cherry picked from commit 0e550a32e46d797d03fd72e54e474762d4db7614)

# Conflicts:
#	openair2/LAYER2/RLC/rlc.c
This commit is contained in:
Haruki NAOI
2018-03-26 19:32:11 +09:00
parent 5646b07870
commit 8f86f38d58
4 changed files with 7 additions and 0 deletions
+1
View File
@@ -299,6 +299,7 @@ void mac_rlc_data_ind (
switch (rlc_mode) {
case RLC_MODE_NONE:
//handle_event(WARNING,"FILE %s FONCTION mac_rlc_data_ind() LINE %s : no radio bearer configured :%d\n", __FILE__, __LINE__, channel_idP);
list_free (&data_ind.data);
break;
case RLC_MODE_AM: