Disable NAS auto start option.
Deactivate NAS message buffer itti_free code, buffer does not seems to be allocated by itti_malloc! git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4921 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
# include "nas_parser.h"
|
||||
# include "nas_proc.h"
|
||||
|
||||
# define NAS_UE_AUTOSTART 1
|
||||
# define NAS_UE_AUTOSTART 0
|
||||
|
||||
extern unsigned char NB_eNB_INST;
|
||||
extern unsigned char NB_UE_INST;
|
||||
@@ -171,8 +171,8 @@ void *nas_ue_task(void *args_p) {
|
||||
nas_proc_establish_cnf(NAS_CONN_ESTABLI_CNF (msg_p).nasMsg.data, NAS_CONN_ESTABLI_CNF (msg_p).nasMsg.length);
|
||||
|
||||
/* TODO checks if NAS will free the nas message, better to do it there anyway! */
|
||||
result = itti_free (ITTI_MSG_ORIGIN_ID(msg_p), NAS_CONN_ESTABLI_CNF(msg_p).nasMsg.data);
|
||||
AssertFatal (result == EXIT_SUCCESS, "Failed to free memory (%d)!\n", result);
|
||||
// result = itti_free (ITTI_MSG_ORIGIN_ID(msg_p), NAS_CONN_ESTABLI_CNF(msg_p).nasMsg.data);
|
||||
// AssertFatal (result == EXIT_SUCCESS, "Failed to free memory (%d)!\n", result);
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user