mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 16:21:01 +00:00
SDP: Misc cleanups (Mostly memory leaks)
Change-Id: I74431b385da333f2c5f5a6d7c55e70b69a4f05d2
This commit is contained in:
@@ -84,6 +84,9 @@ struct ast_sdp_translator *ast_sdp_translator_new(enum ast_sdp_options_impl repr
|
||||
|
||||
void ast_sdp_translator_free(struct ast_sdp_translator *translator)
|
||||
{
|
||||
if (!translator) {
|
||||
return;
|
||||
}
|
||||
translator->ops->translator_free(translator->translator_priv);
|
||||
ast_free(translator);
|
||||
}
|
||||
|
Reference in New Issue
Block a user