fix double free

This commit is contained in:
Tilka 2012-04-21 16:51:41 +02:00
parent 776f7d0bff
commit b72f5a407a
1 changed files with 0 additions and 1 deletions

View File

@ -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" : "")); cbuf_append_format(buf, "*** %s: Delivered to " PRINTF_SIZE_T " user%s", cmd->prefix, recipients, (recipients != 1 ? "s" : ""));
send_message(cbase, user, buf); send_message(cbase, user, buf);
hub_free(message);
return 0; return 0;
} }