From: Brian West Date: Thu, 3 Sep 2009 17:24:48 +0000 (+0000) Subject: fix the fixed z code X-Git-Tag: v1.0.6~1952 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=660e4d29860b71d924947e35bad02c4d9c652942;p=thirdparty%2Ffreeswitch.git fix the fixed z code git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14754 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_rtp.c b/src/switch_rtp.c index f57a414242..fa2b86a9bb 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -1457,8 +1457,8 @@ SWITCH_DECLARE(void) switch_rtp_destroy(switch_rtp_t **rtp_session) /* ZRTP */ if (zrtp_on) { - if (rtp_session->zrtp_ctx != NULL) { - zrtp_stream_stop(rtp_session->zrtp_ctx); + if ((*rtp_session)->zrtp_ctx != NULL) { + zrtp_stream_stop((*rtp_session)->zrtp_ctx); } if (switch_test_flag((*rtp_session), SWITCH_ZRTP_FLAG_SECURE_SEND)) {