mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-11 04:18:21 +00:00
Merge "aco: Fix NULL dereference in error path." into 13
This commit is contained in:
@@ -616,7 +616,7 @@ enum aco_process_status aco_process_ast_config(struct aco_info *info, struct aco
|
|||||||
{
|
{
|
||||||
if (!info->internal) {
|
if (!info->internal) {
|
||||||
ast_log(LOG_ERROR, "Attempt to process %s with uninitialized aco_info\n", file->filename);
|
ast_log(LOG_ERROR, "Attempt to process %s with uninitialized aco_info\n", file->filename);
|
||||||
goto error;
|
return ACO_PROCESS_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(info->internal->pending = info->snapshot_alloc())) {
|
if (!(info->internal->pending = info->snapshot_alloc())) {
|
||||||
|
|||||||
Reference in New Issue
Block a user