aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_smdi.c
diff options
context:
space:
mode:
Diffstat (limited to 'res/res_smdi.c')
-rw-r--r--res/res_smdi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/res/res_smdi.c b/res/res_smdi.c
index 4c9427720..42aba5564 100644
--- a/res/res_smdi.c
+++ b/res/res_smdi.c
@@ -309,8 +309,10 @@ static inline void unref_msg(void *msg, enum smdi_message_type type)
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;
}
}