Module: kamailio Branch: master Commit: a8d56242da48708949149c11c06d031b5c2fad49 URL: https://github.com/kamailio/kamailio/commit/a8d56242da48708949149c11c06d031b...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2022-02-08T09:14:08+01:00
ims_dialog: updated test conditions
- GH #3014
---
Modified: src/modules/ims_dialog/dlg_hash.c
---
Diff: https://github.com/kamailio/kamailio/commit/a8d56242da48708949149c11c06d031b... Patch: https://github.com/kamailio/kamailio/commit/a8d56242da48708949149c11c06d031b...
---
diff --git a/src/modules/ims_dialog/dlg_hash.c b/src/modules/ims_dialog/dlg_hash.c index bc32282d9e..cfe0148e7b 100644 --- a/src/modules/ims_dialog/dlg_hash.c +++ b/src/modules/ims_dialog/dlg_hash.c @@ -253,7 +253,7 @@ void destroy_dlg(struct dlg_cell *dlg) { shm_free(var); }
- if (&(dlg->dlg_entry_out)) { + if (dlg->dlg_entry_out.first) { lock_get(dlg->dlg_out_entries_lock); destroy_entry_out(&(dlg->dlg_entry_out)); lock_release(dlg->dlg_out_entries_lock);