diff options
author | Badalyan Vyacheslav <v.badalyan@open-bs.ru> | 2016-10-10 12:49:08 -0400 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2016-10-25 11:45:37 +0000 |
commit | 01d1d3763ff931b747bb4d1750c539cee2b57792 (patch) | |
tree | dd953331d250f8a13ce3f957f9f1786c9750f02d /main/message.c | |
parent | 7c79b057dd3b0a06000b7bdd0583648bfc643b96 (diff) |
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
Diffstat (limited to 'main/message.c')
0 files changed, 0 insertions, 0 deletions