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
cd4f8c7e
Commit
cd4f8c7e
authored
Mar 11, 2019
by
wujing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix rlc free issue
parent
b059f7f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
openair2/UTIL/MEM/mem_block.c
openair2/UTIL/MEM/mem_block.c
+4
-3
No files found.
openair2/UTIL/MEM/mem_block.c
View file @
cd4f8c7e
...
...
@@ -205,12 +205,13 @@ free_mem_block (mem_block_t * leP, const char* caller)
counters
[
5
],
counters
[
6
],
counters
[
7
],
counters
[
8
],
counters
[
9
],
counters
[
10
],
counters
[
11
]);
#endif
stat_info
.
memblock_free_ok
++
;
leP
=
NULL
;
// this prevent from freeing the block twice
//
stat_info.memblock_free_ok++;
//
leP = NULL; // this prevent from freeing the block twice
}
else
{
LOG_E
(
RLC
,
"[MEM_MNGT][FREE] ERROR free_mem_block() unknown pool_id : %d
\n
"
,
leP
->
pool_id
);
}
stat_info
.
memblock_free_ok
++
;
leP
=
NULL
;
// this prevent from freeing the block twice
#ifdef MEMBLOCK_BIG_LOCK
if
(
pthread_mutex_unlock
(
&
mtex
))
abort
();
#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