mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-14 08:31:02 +00:00
taskprocessor.c: Remove extra unref from off-nominal path.
Change-Id: Iee3bd8c8a528776056972066698fe735f0f6cf60
This commit is contained in:
@@ -593,7 +593,6 @@ static struct ast_taskprocessor *__allocate_taskprocessor(const char *name, stru
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
if (!(p->name = ast_strdup(name))) {
|
if (!(p->name = ast_strdup(name))) {
|
||||||
ao2_ref(p, -1);
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user