Commit 0dd8ae99 authored by winckel's avatar winckel

Corrected free calls for ITTI messages.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4783 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 5a6de288
......@@ -107,7 +107,7 @@ void *mme_app_thread(void *args)
ITTI_MSG_ID(received_message_p), ITTI_MSG_NAME(received_message_p));
} break;
}
free(received_message_p);
itti_free(ITTI_MSG_ORIGIN_ID(received_message_p), received_message_p);
received_message_p = NULL;
}
return NULL;
......
......@@ -168,7 +168,7 @@ next_message:
ITTI_MSG_NAME(received_message_p));
} break;
}
free(received_message_p);
itti_free(ITTI_MSG_ORIGIN_ID(received_message_p), received_message_p);
received_message_p = NULL;
}
return NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment