Get rid of warnings for those silly compilers which warn when freeing

a const pointer



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@118159 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Michelson
2008-05-23 20:55:02 +00:00
parent 7e49fd2f0e
commit 4ad72ce1cf

View File

@@ -9166,8 +9166,8 @@ static int handle_subscribe(void *datap)
AST_RWLIST_WRLOCK(&mwi_subs);
AST_RWLIST_INSERT_TAIL(&mwi_subs, mwi_sub, entry);
AST_RWLIST_UNLOCK(&mwi_subs);
ast_free(p->mailbox);
ast_free(p->context);
ast_free((void *) p->mailbox);
ast_free((void *) p->context);
ast_free(p);
return 0;
}