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
This commit is contained in:
Russell Bryant
2005-08-29 16:08:53 +00:00
parent 99929b21e4
commit d1ec6c80d1

View File

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