diff --git a/modules/dialog/dlg_hash.c b/modules/dialog/dlg_hash.c index cc9744f9086..efcbf8ea60d 100644 --- a/modules/dialog/dlg_hash.c +++ b/modules/dialog/dlg_hash.c @@ -1616,6 +1616,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);