mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-01 11:32:25 +00:00
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:
@@ -6134,6 +6134,7 @@ static int load_config(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
ast_mutex_unlock(&vmlock);
|
ast_mutex_unlock(&vmlock);
|
||||||
|
ast_config_destroy(cfg);
|
||||||
return 0;
|
return 0;
|
||||||
} else {
|
} else {
|
||||||
ast_mutex_unlock(&vmlock);
|
ast_mutex_unlock(&vmlock);
|
||||||
|
|||||||
Reference in New Issue
Block a user