[asterisk-commits] taskprocessor.c: Remove extra unref from off-nominal path. (asterisk[13])

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jun 10 15:15:03 CDT 2015


Mark Michelson has submitted this change and it was merged.

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


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

Change-Id: Iee3bd8c8a528776056972066698fe735f0f6cf60
---
M main/taskprocessor.c
1 file changed, 0 insertions(+), 1 deletion(-)

Approvals:
  Mark Michelson: Looks good to me, approved; Verified
  Corey Farrell: Looks good to me, but someone else must approve



diff --git a/main/taskprocessor.c b/main/taskprocessor.c
index dd416db..20a42fa 100644
--- a/main/taskprocessor.c
+++ b/main/taskprocessor.c
@@ -593,7 +593,6 @@
 		return NULL;
 	}
 	if (!(p->name = ast_strdup(name))) {
-		ao2_ref(p, -1);
 		return NULL;
 	}
 

-- 
To view, visit https://gerrit.asterisk.org/628
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iee3bd8c8a528776056972066698fe735f0f6cf60
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
Gerrit-Reviewer: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Mark Michelson <mmichelson at digium.com>



More information about the asterisk-commits mailing list