diff options
Diffstat (limited to 'res/res_smdi.c')
-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 53f174b3c..9cd78b490 100644 --- a/res/res_smdi.c +++ b/res/res_smdi.c @@ -305,8 +305,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; } } |