diff options
author | zuul <zuul@gerrit.asterisk.org> | 2016-10-26 11:13:43 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2016-10-26 11:13:43 -0500 |
commit | 761b32633c12d4eb7aa35b379c4441579e465a0f (patch) | |
tree | 9ba1a68a94abdaf8420d7ffd0296c353618778af /cdr/cdr_radius.c | |
parent | 2b9ad3a5f736b6a4081e172f2a6d35dcd20b51e4 (diff) | |
parent | 01d1d3763ff931b747bb4d1750c539cee2b57792 (diff) |
Merge "cdr_radius,cel_radius: Fix old memleak in unload"
Diffstat (limited to 'cdr/cdr_radius.c')
-rw-r--r-- | cdr/cdr_radius.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/cdr/cdr_radius.c b/cdr/cdr_radius.c index e1a639cda..ddde5b890 100644 --- a/cdr/cdr_radius.c +++ b/cdr/cdr_radius.c @@ -265,18 +265,6 @@ static int load_module(void) } else return AST_MODULE_LOAD_DECLINE; - /* - * start logging - * - * NOTE: Yes this causes a slight memory leak if the module is - * unloaded. However, it is better than a crash if cdr_radius - * and cel_radius are both loaded. - */ - tmp = ast_strdup("asterisk"); - if (tmp) { - rc_openlog((char *) tmp); - } - /* read radiusclient-ng config file */ if (!(rh = rc_read_config(radiuscfg))) { ast_log(LOG_NOTICE, "Cannot load radiusclient-ng configuration file %s.\n", radiuscfg); |