Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-AMF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-AMF
Commits
cda21c6f
Commit
cda21c6f
authored
Mar 09, 2022
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Continue to fix CPP check
parent
0a7254ba
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
src/common/conversions.cpp
src/common/conversions.cpp
+1
-0
src/ngap/ngapIEs/PDUSessionResourceSetupItemSUReq.cpp
src/ngap/ngapIEs/PDUSessionResourceSetupItemSUReq.cpp
+4
-1
No files found.
src/common/conversions.cpp
View file @
cda21c6f
...
@@ -173,6 +173,7 @@ void conv::convert_string_2_hex(
...
@@ -173,6 +173,7 @@ void conv::convert_string_2_hex(
output_str
=
reinterpret_cast
<
char
*>
(
datahex
);
output_str
=
reinterpret_cast
<
char
*>
(
datahex
);
free_wrapper
((
void
**
)
&
datahex
);
free_wrapper
((
void
**
)
&
datahex
);
free_wrapper
((
void
**
)
&
data
);
}
}
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
...
...
src/ngap/ngapIEs/PDUSessionResourceSetupItemSUReq.cpp
View file @
cda21c6f
...
@@ -27,6 +27,9 @@
...
@@ -27,6 +27,9 @@
*/
*/
#include "PDUSessionResourceSetupItemSUReq.hpp"
#include "PDUSessionResourceSetupItemSUReq.hpp"
extern
"C"
{
#include "dynamic_memory_check.h"
}
#include <iostream>
#include <iostream>
using
namespace
std
;
using
namespace
std
;
...
@@ -65,7 +68,7 @@ bool PDUSessionResourceSetupItemSUReq::encode2PDUSessionResourceSetupItemSUReq(
...
@@ -65,7 +68,7 @@ bool PDUSessionResourceSetupItemSUReq::encode2PDUSessionResourceSetupItemSUReq(
(
Ngap_NAS_PDU_t
*
)
calloc
(
1
,
sizeof
(
Ngap_NAS_PDU_t
));
(
Ngap_NAS_PDU_t
*
)
calloc
(
1
,
sizeof
(
Ngap_NAS_PDU_t
));
if
(
!
naspdu
)
return
false
;
if
(
!
naspdu
)
return
false
;
if
(
!
nAS_PDU
->
encode2octetstring
(
*
naspdu
))
{
if
(
!
nAS_PDU
->
encode2octetstring
(
*
naspdu
))
{
if
(
naspdu
!=
nullptr
)
free
(
naspdu
);
free_wrapper
((
void
**
)
&
naspdu
);
return
false
;
return
false
;
}
}
pduSessionResourceSetupItemSUReq
->
pDUSessionNAS_PDU
=
naspdu
;
pduSessionResourceSetupItemSUReq
->
pDUSessionNAS_PDU
=
naspdu
;
...
...
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