mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-05 12:42:49 +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:
committed by
Sean Bright
parent
4a2caab4f6
commit
8e05796e81
@@ -517,7 +517,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