# HG changeset patch # User Matthew Wild # Date 1779215202 -3600 # Node ID f149652cb5ff2f627d3e97b642a5e5e671f58fae # Parent 2a050069f37b8da1c65ba46dde0648bf2751c0bc mod_cloud_notify: Use correct stanza id when clearing table entries (mem leak) The memory leak fix in 041c7ff18f76 was insufficient, as the wrong stanza id was used to clear the table entries. diff -r 2a050069f37b -r f149652cb5ff plugins/mod_cloud_notify.lua --- a/plugins/mod_cloud_notify.lua Tue May 19 19:24:53 2026 +0100 +++ b/plugins/mod_cloud_notify.lua Tue May 19 19:26:42 2026 +0100 @@ -397,8 +397,8 @@ id2identifier[stanza_id] = push_identifier; module:send_iq(push_publish):next(handle_push_success, handle_push_error):finally(function () -- unhook iq handlers for this identifier (if possible) - id2node[stanza.attr.id] = nil; - id2identifier[stanza.attr.id] = nil; + id2node[stanza_id] = nil; + id2identifier[stanza_id] = nil; end); pushes = pushes + 1; end