mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-24 06:53:41 +00:00
Merge "res_pjsip_transport_websocket.c: Fix serializer ref leak." into 15
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user