2019-04-27 14:54:30 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2019 by Sukchan Lee <acetcom@gmail.com>
|
|
|
|
*
|
|
|
|
* This file is part of Open5GS.
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Affero General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
*/
|
2017-08-25 10:40:49 +00:00
|
|
|
|
2019-09-13 12:07:47 +00:00
|
|
|
#include "diameter/ogs-gx.h"
|
2017-08-25 10:40:49 +00:00
|
|
|
|
2019-09-13 12:07:47 +00:00
|
|
|
void ogs_diam_gx_message_free(ogs_diam_gx_message_t *gx_message)
|
2017-08-25 10:40:49 +00:00
|
|
|
{
|
2018-01-18 16:23:13 +00:00
|
|
|
int i;
|
2017-08-25 10:40:49 +00:00
|
|
|
|
2019-04-27 14:54:30 +00:00
|
|
|
ogs_assert(gx_message);
|
2017-08-25 10:40:49 +00:00
|
|
|
|
2019-09-13 12:07:47 +00:00
|
|
|
for (i = 0; i < gx_message->num_of_pcc_rule; i++) {
|
|
|
|
OGS_PCC_RULE_FREE(&gx_message->pcc_rule[i]);
|
2017-08-25 10:40:49 +00:00
|
|
|
}
|
|
|
|
}
|