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
pull/9/head
Tzafrir Cohen 8 years ago
parent f006310bd1
commit 11cefdf621

@ -510,7 +510,6 @@ static int my_load_module(int reload)
} else {
calldate_compat = 0;
}
ast_free(compat);
if (res < 0) {
if (reload) {

Loading…
Cancel
Save