diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2017-10-10 17:49:15 +0300 |
---|---|---|
committer | Sean Bright <sean.bright@gmail.com> | 2017-10-11 15:14:50 -0500 |
commit | 21e981982f65773c6051caf1f941bc9e6d8aba11 (patch) | |
tree | 97a590a235e4b2a4ba6ce83d60dffa313859ccb0 /addons | |
parent | 2bbb871b108e11164854c431a5255e5c72d0be5a (diff) |
cdr_mysql: avoid releasing a config string
Fixes a memory corruption issue after a reload of cdr_mysql.
Issue was accidentally included in 747beb1ed159f89a3b58742e4257740b3d6d6bba .
ASTERISK-27270 #close
Change-Id: I90b6a9d18710c0f9009466370bd5f4bac5d5d12e
Diffstat (limited to 'addons')
-rw-r--r-- | addons/cdr_mysql.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/cdr_mysql.c b/addons/cdr_mysql.c index 1c116636f..1f9736251 100644 --- a/addons/cdr_mysql.c +++ b/addons/cdr_mysql.c @@ -510,7 +510,6 @@ static int my_load_module(int reload) } else { calldate_compat = 0; } - ast_free(compat); if (res < 0) { if (reload) { |