diff options
Diffstat (limited to 'channels/sip/sdp_crypto.c')
-rw-r--r-- | channels/sip/sdp_crypto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/sip/sdp_crypto.c b/channels/sip/sdp_crypto.c index 85ddfe2f4..ba21316d9 100644 --- a/channels/sip/sdp_crypto.c +++ b/channels/sip/sdp_crypto.c @@ -291,7 +291,7 @@ int sdp_crypto_offer(struct sdp_crypto *p, int taglen) char crypto_buf[128]; if (p->a_crypto) { - ast_free(p->a_crypto); + return 0; } if (snprintf(crypto_buf, sizeof(crypto_buf), "a=crypto:1 AES_CM_128_HMAC_SHA1_%i inline:%s\r\n", |