diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2017-10-10 17:49:15 +0300 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2017-10-11 17:30:50 -0500 |
commit | ce71acf9ca3f726ee30caed04cf1e238a0acad5e (patch) | |
tree | c2465db7c06e2304265ee58fbd5b2ffa7a61ca62 | |
parent | e1009588a5c2d818fb90a6dca46ddbdabbd0ee88 (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
-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 667e6a2bf..07849b0c1 100644 --- a/addons/cdr_mysql.c +++ b/addons/cdr_mysql.c @@ -512,7 +512,6 @@ static int my_load_module(int reload) } else { calldate_compat = 0; } - ast_free(compat); if (res < 0) { if (reload) { |