Module: kamailio Branch: 5.5 Commit: 6c3b7c0e2ee3e0d397f1781f385eb78483fdd67f URL: https://github.com/kamailio/kamailio/commit/6c3b7c0e2ee3e0d397f1781f385eb784...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2022-02-14T13:02:49+01:00
ims_dialog: updated test conditions
- GH #3014
(cherry picked from commit a8d56242da48708949149c11c06d031b5c2fad49)
---
Modified: src/modules/ims_dialog/dlg_hash.c
---
Diff: https://github.com/kamailio/kamailio/commit/6c3b7c0e2ee3e0d397f1781f385eb784... Patch: https://github.com/kamailio/kamailio/commit/6c3b7c0e2ee3e0d397f1781f385eb784...
---
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);