open5gs/lib/fd/gx/gx_message.c

19 lines
322 B
C
Raw Normal View History

2017-08-25 10:40:49 +00:00
#define TRACE_MODULE _gx_message
#include "core_debug.h"
#include "core_pkbuf.h"
#include "gx_message.h"
2018-01-10 13:09:08 +00:00
void gx_message_free(gx_message_t *gx_message)
2017-08-25 10:40:49 +00:00
{
int i;
2017-08-25 10:40:49 +00:00
2018-01-14 09:15:38 +00:00
d_assert(gx_message, return,);
2017-08-25 10:40:49 +00:00
2018-01-10 13:09:08 +00:00
for (i = 0; i < gx_message->num_of_pcc_rule; i++)
2017-08-25 10:40:49 +00:00
{
PCC_RULE_FREE(&gx_message->pcc_rule[i]);
2017-08-25 10:40:49 +00:00
}
}