res_pjsip_session: Check for errors from ast_stream_topology_set_stream.
authorCorey Farrell <git@cfware.com>
Tue, 7 Nov 2017 17:40:08 +0000 (12:40 -0500)
committerCorey Farrell <git@cfware.com>
Tue, 7 Nov 2017 17:40:08 +0000 (12:40 -0500)
commiteba1179795f415e48aaafd036df93bd7459f8e0b
treee4791c27681b7f2c50841dc26dc6b6c424e3280d
parent06746b0af503a3abd8ecb4fcb0150194f0d3f25f
res_pjsip_session: Check for errors from ast_stream_topology_set_stream.

Free memory and return error if ast_stream_topology_set_stream fails.

Change-Id: I9f4dbf44bed627243d2f1dd8aea2eab6c38a028d
res/res_pjsip_session.c