diff --git a/modules/dialog/dlg_hash.c b/modules/dialog/dlg_hash.c index 9950ba13c50..c3fa90f5a3a 100644 --- a/modules/dialog/dlg_hash.c +++ b/modules/dialog/dlg_hash.c @@ -1656,6 +1656,8 @@ static mi_response_t *mi_match_print_dlg(int with_context, dlg_unlock(d_table, d_entry); + return resp; + error: dlg_unlock(d_table, d_entry); free_mi_response(resp);