mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Don't unlock in handle_response
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@845 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -3861,8 +3861,7 @@ static void handle_response(struct sip_pvt *p, int resp, char *rest, struct sip_
|
||||
ast_queue_hangup(p->owner, 0);
|
||||
} else {
|
||||
if (!p->subscribed) {
|
||||
sip_destroy(p);
|
||||
p = NULL;
|
||||
p->needdestroy = 1;
|
||||
}
|
||||
}
|
||||
} else if (!strcasecmp(msg, "INVITE")) {
|
||||
@@ -3985,10 +3984,6 @@ static void handle_response(struct sip_pvt *p, int resp, char *rest, struct sip_
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (owner)
|
||||
ast_pthread_mutex_unlock(&owner->lock);
|
||||
if (p)
|
||||
ast_pthread_mutex_unlock(&p->lock);
|
||||
}
|
||||
|
||||
static int determine_firstline_parts( struct sip_request *req ) {
|
||||
|
Reference in New Issue
Block a user