]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update
authorAnthony Minessale <anthony.minessale@gmail.com>
Mon, 25 Feb 2008 16:41:28 +0000 (16:41 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Mon, 25 Feb 2008 16:41:28 +0000 (16:41 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7733 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_rtp.c

index edec12ab5f36546ce57dde286ff17b5689e96287..42ecbe72f9a11eafc5509314f43141ffa42bacb5 100644 (file)
@@ -857,11 +857,11 @@ SWITCH_DECLARE(void) switch_rtp_destroy(switch_rtp_t **rtp_session)
        switch_rtp_kill_socket(*rtp_session);
 
        while(switch_queue_trypop((*rtp_session)->dtmf_data.dtmf_inqueue, &pop) == SWITCH_STATUS_SUCCESS) {
-               free(pop);
+               switch_safe_free(pop);
        }
        
        while(switch_queue_trypop((*rtp_session)->dtmf_data.dtmf_queue, &pop) == SWITCH_STATUS_SUCCESS) {
-               free(pop);
+               switch_safe_free(pop);
        }
 
        if ((*rtp_session)->jb) {