From: Richard Mudgett Date: Fri, 5 Jun 2015 18:46:25 +0000 (-0500) Subject: taskprocessor.c: Remove extra unref from off-nominal path. X-Git-Tag: 13.5.0-rc1~101 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32ddf6d86b9f47a044f293eea2401b5a34c68595;p=thirdparty%2Fasterisk.git taskprocessor.c: Remove extra unref from off-nominal path. Change-Id: Iee3bd8c8a528776056972066698fe735f0f6cf60 --- diff --git a/main/taskprocessor.c b/main/taskprocessor.c index dd416dbae6..20a42fab13 100644 --- a/main/taskprocessor.c +++ b/main/taskprocessor.c @@ -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; }