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
常顺宇
OpenXG-RAN
Commits
71dacd44
Commit
71dacd44
authored
Jun 27, 2018
by
Cedric Roux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hotfix: clear memory after allocation
parent
25d36e3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
openair2/LAYER2/MAC/main.c
openair2/LAYER2/MAC/main.c
+1
-0
No files found.
openair2/LAYER2/MAC/main.c
View file @
71dacd44
...
...
@@ -62,6 +62,7 @@ void mac_top_init_eNB(void)
RC
.
mac
=
(
eNB_MAC_INST
**
)
malloc16
(
RC
.
nb_macrlc_inst
*
sizeof
(
eNB_MAC_INST
*
));
bzero
(
RC
.
mac
,
RC
.
nb_macrlc_inst
*
sizeof
(
eNB_MAC_INST
*
));
}
AssertFatal
(
RC
.
mac
!=
NULL
,
"can't ALLOCATE %zu Bytes for %d eNB_MAC_INST with size %zu
\n
"
,
...
...
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