res_smdi: convert to astobj2

Remove functions:
	ast_smdi_interface_unref
	ast_smdi_md_message_putback
	ast_smdi_mwi_message_putback
	ast_smdi_md_message destructor
	ast_smdi_mwi_message destructor

Includes for astobj.h are removed everywhere it's possible.

ASTERISK-24066 #close
Review: https://reviewboard.asterisk.org/r/3758/


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@419060 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Corey Farrell
2014-07-21 08:41:29 +00:00
parent a2c912e997
commit e04607f8a3
6 changed files with 136 additions and 249 deletions

View File

@@ -2638,9 +2638,7 @@ static void *__analog_ss_thread(void *data)
}
ast_hangup(chan);
quit:
if (smdi_msg) {
ASTOBJ_UNREF(smdi_msg, ast_smdi_md_message_destroy);
}
ao2_cleanup(smdi_msg);
analog_decrease_ss_count();
return NULL;
}