Commit cd4f8c7e authored by wujing's avatar wujing

fix rlc free issue

parent b059f7f5
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment