Skip to content
Snippets Groups Projects
Commit d94e2250 authored by Joshua Colp's avatar Joshua Colp Committed by Gerrit Code Review
Browse files

Merge "res_pjsip_outbound_publish: Fix crash when publishing device state."

parents a2dde4a5 9d8b9b6c
Branches
Tags
No related merge requests found
......@@ -786,6 +786,7 @@ static int publisher_client_send(void *obj, void *arg, void *data, int flags)
struct sip_outbound_publish_message *message;
size_t type_len = 0, subtype_len = 0, body_text_len = 0;
int *res = data;
SCOPED_AO2LOCK(lock, publisher);
*res = -1;
if (!publisher->client) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment