res_pjsip_transport_websocket: Add NULL check in get_write_timeout
authorJørgen H <asterisk.org@hovland.cx>
Thu, 8 Jun 2017 22:31:47 +0000 (22:31 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 9 Jun 2017 14:55:44 +0000 (09:55 -0500)
commit8d1f54b92e5946de8297a26aa196edc778f0d4eb
tree9e2add152fdb6834bbe6632f863e5f477a786359
parentdb5245f9fde620afdd9b2c7c327bd1b77d8d4718
res_pjsip_transport_websocket: Add NULL check in get_write_timeout

Added check for NULL return value when calling
ast_sorcery_retrieve_by_id in function get_write_timeout

ASTERISK-27046

Change-Id: I9357717278da631c3a1cb502c412693929b0cb41
res/res_pjsip_transport_websocket.c