mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 19:16:15 +00:00
cdr_mysql: avoid releasing a config string
Fixes a memory corruption issue after a reload of cdr_mysql.
Issue was accidentally included in 747beb1ed1
.
ASTERISK-27270 #close
Change-Id: I90b6a9d18710c0f9009466370bd5f4bac5d5d12e
This commit is contained in:
@@ -510,7 +510,6 @@ static int my_load_module(int reload)
|
||||
} else {
|
||||
calldate_compat = 0;
|
||||
}
|
||||
ast_free(compat);
|
||||
|
||||
if (res < 0) {
|
||||
if (reload) {
|
||||
|
Reference in New Issue
Block a user