fix mem leak from not destrying config (issue #5048)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6432 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.2-netsec
Russell Bryant 20 years ago
parent 99929b21e4
commit d1ec6c80d1

@ -6134,6 +6134,7 @@ static int load_config(void)
}
}
ast_mutex_unlock(&vmlock);
ast_config_destroy(cfg);
return 0;
} else {
ast_mutex_unlock(&vmlock);

Loading…
Cancel
Save