mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-22 12:52:33 +00:00
cdr_radius,cel_radius: Fix old memleak in unload
- Call "rc_openlog" optional. If you do not call, you will simply NULL instead of a name. - On the one PID can be only one syslog channel. And it can already be run in logger.c - Calling rc_openlog we assigns a new name for the channel syslog. This unexpected behavior for logger.c. Most lesser evil, is to agree on a NULL name syslog if the channel was not launched in logger.c. It also solves the problem of memory leaks. ASTERISK-26455 #close Change-Id: Ic17c38de67583e971d78fe18807d1a9faf8f0afd
This commit is contained in:
committed by
Joshua Colp
parent
7c79b057dd
commit
01d1d3763f
10
CHANGES
10
CHANGES
@@ -34,6 +34,16 @@ res_pjsip
|
||||
preferred codec rather than advertising all joint codec capabilities.
|
||||
This limits the other side's codec choice to exactly what we prefer.
|
||||
|
||||
cdr_radius
|
||||
------------------
|
||||
* To fix a memory leak the syslog channel is now empty if it has not been set
|
||||
and used by a syslog channel in the logger.
|
||||
|
||||
cel_radius
|
||||
------------------
|
||||
* To fix a memory leak the syslog channel is now empty if it has not been set
|
||||
and used by a syslog channel in the logger.
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
--- Functionality changes from Asterisk 14.1.0 to Asterisk 14.2.0 ----------
|
||||
------------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user