Skip to content
Snippets Groups Projects
Commit 7af10de1 authored by Jenkins2's avatar Jenkins2 Committed by Gerrit Code Review
Browse files

Merge "res_pjsip_transport_websocket.c: Fix serializer ref leak."

parents 50d842b7 842e1414
Branches
Tags
No related merge requests found
......@@ -365,6 +365,7 @@ static void websocket_cb(struct ast_websocket *session, struct ast_variable *par
if (ast_sip_push_task_synchronous(serializer, transport_create, &create_data)) {
ast_log(LOG_ERROR, "Could not create WebSocket transport.\n");
ast_taskprocessor_unreference(serializer);
ast_websocket_unref(session);
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment