0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 08:42:34 +01:00

presence: delete_metadata(): Free from the right heap.

This commit is contained in:
William Pitcock 2009-06-02 02:46:37 -05:00
parent f72de72bf4
commit 9def763407

View file

@ -1771,7 +1771,7 @@ delete_metadata(struct Client *client_p, const char *key)
if (md == NULL)
return;
rb_free(md);
rb_bh_free(metadata_heap, md);
}
sendto_common_channels_local_with_capability(client_p, CLICAP_PRESENCE, form_str(RPL_METADATACHG), me.name, client_p->name, key, "");