[svn-commits] russell: branch 1.4 r198311 - /branches/1.4/res/res_smdi.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri May 29 22:42:54 CDT 2009


Author: russell
Date: Fri May 29 22:42:46 2009
New Revision: 198311

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=198311
Log:
Fix a crash that occurred when MWI SMDI messages expired.

(closes issue #14561)
Reported by: cmoss28

Modified:
    branches/1.4/res/res_smdi.c

Modified: branches/1.4/res/res_smdi.c
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.4/res/res_smdi.c?view=diff&rev=198311&r1=198310&r2=198311
==============================================================================
--- branches/1.4/res/res_smdi.c (original)
+++ branches/1.4/res/res_smdi.c Fri May 29 22:42:46 2009
@@ -309,8 +309,10 @@
 	switch (type) {
 	case SMDI_MWI:
 		ASTOBJ_UNREF(mwi_msg, ast_smdi_mwi_message_destroy);
+		break;
 	case SMDI_MD:
 		ASTOBJ_UNREF(md_msg, ast_smdi_md_message_destroy);
+		break;
 	}
 }
 




More information about the svn-commits mailing list