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

Richard Mudgett asteriskteam at digium.com
Wed Jun 10 13:12:09 CDT 2015


Richard Mudgett has uploaded a new change for review.

  https://gerrit.asterisk.org/628

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(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/28/628/1

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: newchange
Gerrit-Change-Id: Iee3bd8c8a528776056972066698fe735f0f6cf60
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>



More information about the asterisk-code-review mailing list