mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	res_http_websocket.c: Add missing unref on an off nominal path.
Change-Id: I228df6adecd4cb450d03e09e9a38c86bb566e811
This commit is contained in:
		| @@ -832,6 +832,7 @@ int AST_OPTIONAL_API_NAME(ast_websocket_uri_cb)(struct ast_tcptls_session_instan | ||||
| 			ast_log(LOG_WARNING, "WebSocket connection from '%s' could not be accepted - failed to generate a session id\n", | ||||
| 				ast_sockaddr_stringify(&ser->remote_address)); | ||||
| 			ast_http_error(ser, 500, "Internal Server Error", "Allocation failed"); | ||||
| 			ao2_ref(protocol_handler, -1); | ||||
| 			return 0; | ||||
| 		} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user