From b72f5a407ab8c13a6f0eea8afb6e60fb7a144c4d Mon Sep 17 00:00:00 2001 From: Tilka Date: Sat, 21 Apr 2012 16:51:41 +0200 Subject: [PATCH] fix double free --- src/core/commands.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/core/commands.c b/src/core/commands.c index 70a649f..a7023c5 100644 --- a/src/core/commands.c +++ b/src/core/commands.c @@ -762,7 +762,6 @@ static int command_broadcast(struct command_base* cbase, struct hub_user* user, cbuf_append_format(buf, "*** %s: Delivered to " PRINTF_SIZE_T " user%s", cmd->prefix, recipients, (recipients != 1 ? "s" : "")); send_message(cbase, user, buf); - hub_free(message); return 0; }