diff options
author | matteo <matteo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-03-02 19:52:23 +0000 |
---|---|---|
committer | matteo <matteo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-03-02 19:52:23 +0000 |
commit | 48085489fc4adfc22d5d3e568ac68abc25bd0f31 (patch) | |
tree | 49a0b255f96975b7dfdf034d2510066935dc2894 /codecs | |
parent | ca5391ad77b3969e1908beaea270d385b53400dd (diff) |
dom mar 2 20:52:10 CET 2003
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@629 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'codecs')
-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--; } |