Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
canghaiwuhen
OpenXG-RAN
Commits
ceefddc5
Commit
ceefddc5
authored
Feb 05, 2020
by
masayuki.harada
Committed by
Haruki NAOI
Feb 14, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix memory leak rx pdu.
(cherry picked from commit 2628fda6e636bf34752579d825bf0236f01377ad)
parent
75de2e40
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
37 deletions
+0
-37
nfapi/open-nFAPI/vnf/src/vnf_p7.c
nfapi/open-nFAPI/vnf/src/vnf_p7.c
+0
-37
No files found.
nfapi/open-nFAPI/vnf/src/vnf_p7.c
View file @
ceefddc5
...
...
@@ -673,14 +673,6 @@ void vnf_handle_rx_ulsch_indication(void *pRecvMsg, int recvMsgLen, vnf_p7_t* vn
(
vnf_p7
->
_public
.
rx_indication
)(
&
(
vnf_p7
->
_public
),
&
ind
);
}
}
uint16_t
i
=
0
;
for
(
i
=
0
;
i
<
ind
.
rx_indication_body
.
number_of_pdus
;
++
i
)
{
vnf_p7_codec_free
(
vnf_p7
,
ind
.
rx_indication_body
.
rx_pdu_list
[
i
].
data
);
}
vnf_p7_codec_free
(
vnf_p7
,
ind
.
rx_indication_body
.
rx_pdu_list
);
vnf_p7_codec_free
(
vnf_p7
,
ind
.
vendor_extension
);
}
}
...
...
@@ -707,10 +699,6 @@ void vnf_handle_rach_indication(void *pRecvMsg, int recvMsgLen, vnf_p7_t* vnf_p7
(
vnf_p7
->
_public
.
rach_indication
)(
&
vnf_p7
->
_public
,
&
ind
);
}
}
#ifndef PHY_RM
vnf_p7_codec_free
(
vnf_p7
,
ind
.
rach_indication_body
.
preamble_list
);
vnf_p7_codec_free
(
vnf_p7
,
ind
.
vendor_extension
);
#endif
}
}
...
...
@@ -736,10 +724,6 @@ void vnf_handle_srs_indication(void *pRecvMsg, int recvMsgLen, vnf_p7_t* vnf_p7)
(
vnf_p7
->
_public
.
srs_indication
)(
&
(
vnf_p7
->
_public
),
&
ind
);
}
}
#ifndef PHY_RM
vnf_p7_codec_free
(
vnf_p7
,
ind
.
srs_indication_body
.
srs_pdu_list
);
vnf_p7_codec_free
(
vnf_p7
,
ind
.
vendor_extension
);
#endif
}
}
...
...
@@ -765,10 +749,6 @@ void vnf_handle_rx_sr_indication(void *pRecvMsg, int recvMsgLen, vnf_p7_t* vnf_p
(
vnf_p7
->
_public
.
sr_indication
)(
&
(
vnf_p7
->
_public
),
&
ind
);
}
}
#ifndef PHY_RM
vnf_p7_codec_free
(
vnf_p7
,
ind
.
sr_indication_body
.
sr_pdu_list
);
vnf_p7_codec_free
(
vnf_p7
,
ind
.
vendor_extension
);
#endif
}
}
void
vnf_handle_rx_cqi_indication
(
void
*
pRecvMsg
,
int
recvMsgLen
,
vnf_p7_t
*
vnf_p7
)
...
...
@@ -793,11 +773,6 @@ void vnf_handle_rx_cqi_indication(void *pRecvMsg, int recvMsgLen, vnf_p7_t* vnf_
(
vnf_p7
->
_public
.
cqi_indication
)(
&
(
vnf_p7
->
_public
),
&
ind
);
}
}
#ifndef PHY_RM
vnf_p7_codec_free
(
vnf_p7
,
ind
.
cqi_indication_body
.
cqi_pdu_list
);
vnf_p7_codec_free
(
vnf_p7
,
ind
.
cqi_indication_body
.
cqi_raw_pdu_list
);
vnf_p7_codec_free
(
vnf_p7
,
ind
.
vendor_extension
);
#endif
}
}
...
...
@@ -824,10 +799,6 @@ void vnf_handle_lbt_dl_indication(void *pRecvMsg, int recvMsgLen, vnf_p7_t* vnf_
(
vnf_p7
->
_public
.
lbt_dl_indication
)(
&
(
vnf_p7
->
_public
),
&
ind
);
}
}
#ifndef PHY_RM
vnf_p7_codec_free
(
vnf_p7
,
ind
.
lbt_dl_indication_body
.
lbt_indication_pdu_list
);
vnf_p7_codec_free
(
vnf_p7
,
ind
.
vendor_extension
);
#endif
}
}
...
...
@@ -853,10 +824,6 @@ void vnf_handle_nb_harq_indication(void *pRecvMsg, int recvMsgLen, vnf_p7_t* vnf
(
vnf_p7
->
_public
.
nb_harq_indication
)(
&
(
vnf_p7
->
_public
),
&
ind
);
}
}
#ifndef PHY_RM
vnf_p7_codec_free
(
vnf_p7
,
ind
.
nb_harq_indication_body
.
nb_harq_pdu_list
);
vnf_p7_codec_free
(
vnf_p7
,
ind
.
vendor_extension
);
#endif
}
}
...
...
@@ -882,10 +849,6 @@ void vnf_handle_nrach_indication(void *pRecvMsg, int recvMsgLen, vnf_p7_t* vnf_p
(
vnf_p7
->
_public
.
nrach_indication
)(
&
(
vnf_p7
->
_public
),
&
ind
);
}
}
#ifndef PHY_RM
vnf_p7_codec_free
(
vnf_p7
,
ind
.
nrach_indication_body
.
nrach_pdu_list
);
vnf_p7_codec_free
(
vnf_p7
,
ind
.
vendor_extension
);
#endif
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment