taskprocessor.c: Remove extra unref from off-nominal path.

Change-Id: Iee3bd8c8a528776056972066698fe735f0f6cf60
changes/22/622/1
Richard Mudgett 10 years ago
parent 339f965cbe
commit aa8479778e

@ -593,7 +593,6 @@ static struct ast_taskprocessor *__allocate_taskprocessor(const char *name, stru
return NULL;
}
if (!(p->name = ast_strdup(name))) {
ao2_ref(p, -1);
return NULL;
}

Loading…
Cancel
Save