Hi:
See dlg_new_dialog in dlg_handlers.c.
After dlg_search, the dlg has locked and referenced, but there is no dlg_hash_release/dlg_release in some places ?
Best Regards!