presence: delete_metadata(): Free from the right heap.
This commit is contained in:
parent
f72de72bf4
commit
9def763407
1 changed files with 1 additions and 1 deletions
|
@ -1771,7 +1771,7 @@ delete_metadata(struct Client *client_p, const char *key)
|
||||||
if (md == NULL)
|
if (md == NULL)
|
||||||
return;
|
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, "");
|
sendto_common_channels_local_with_capability(client_p, CLICAP_PRESENCE, form_str(RPL_METADATACHG), me.name, client_p->name, key, "");
|
||||||
|
|
Loading…
Reference in a new issue