FreeCalypso > hg > themwi-system-sw
diff mgw/dlcx.c @ 95:f280328e7e2e
themwi-mgw: initial implementation of PSTN to GSM forwarding
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 25 Sep 2022 19:17:44 -0800 |
parents | 020ba624bdd8 |
children | f062c32a5116 |
line wrap: on
line diff
--- a/mgw/dlcx.c Sat Sep 24 15:14:50 2022 -0800 +++ b/mgw/dlcx.c Sun Sep 25 19:17:44 2022 -0800 @@ -83,6 +83,10 @@ free_rtp_end(&ep->rtp_gsm); if (ep->ep_type & TMGW_EP_HAS_PSTN_SOCK) free_rtp_end(&ep->rtp_pstn); + if (ep->gsm_encoder_state) + free(ep->gsm_encoder_state); + if (ep->gsm_decoder_state) + free(ep->gsm_decoder_state); free(ep); } delq = 0;