From 9def763407b8174952ba5f635534ade5c8f6d7c7 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Tue, 2 Jun 2009 02:46:37 -0500 Subject: [PATCH] presence: delete_metadata(): Free from the right heap. --- src/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.c b/src/client.c index bbfd7d17..5cee8586 100644 --- a/src/client.c +++ b/src/client.c @@ -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, "");