]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7131 #comment please test
authorAnthony Minessale <anthm@freeswitch.org>
Sat, 10 Jan 2015 03:47:28 +0000 (21:47 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Sat, 10 Jan 2015 03:47:28 +0000 (21:47 -0600)
src/switch_rtp.c

index d6dcf9cd22e7973a8e0ba4e84217fc164ef939f1..48c90b9bdc2f38c802f06b67bd78eb1ec0069e00 100644 (file)
@@ -3938,6 +3938,7 @@ SWITCH_DECLARE(switch_status_t) switch_rtp_activate_ice(switch_rtp_t *rtp_sessio
        switch_port_t port = 0;
        char bufc[30];
                                 
+       READ_INC(rtp_session);
 
        if (proto == IPR_RTP) {
                ice = &rtp_session->ice;
@@ -4006,6 +4007,8 @@ SWITCH_DECLARE(switch_status_t) switch_rtp_activate_ice(switch_rtp_t *rtp_sessio
                switch_rtp_break(rtp_session);
        }
 
+       READ_DEC(rtp_session);
+
        return SWITCH_STATUS_SUCCESS;
 }