diff options
Diffstat (limited to 'codecs/codec_gsm.c')
-rwxr-xr-x | codecs/codec_gsm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/codecs/codec_gsm.c b/codecs/codec_gsm.c index 6a3ff8054..42d70f432 100755 --- a/codecs/codec_gsm.c +++ b/codecs/codec_gsm.c @@ -196,6 +196,8 @@ static struct ast_frame *lintogsm_frameout(struct ast_translator_pvt *tmp) static void gsm_destroy_stuff(struct ast_translator_pvt *pvt) { + if (pvt->gsm) + gsm_destroy(pvt->gsm); free(pvt); localusecnt--; } |