diff options
-rw-r--r-- | res/res_smdi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/res/res_smdi.c b/res/res_smdi.c index 224dca9e4..d1d40f0cf 100644 --- a/res/res_smdi.c +++ b/res/res_smdi.c @@ -306,8 +306,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; } } |