--- libogc/network_wii.c.orig 2008-06-07 10:16:39.000000000 -0500 +++ libogc/network_wii.c 2008-06-07 10:15:20.000000000 -0500 @@ -548,6 +548,8 @@ ret = _net_convert_error(IOS_IoctlvFormat(__net_hid, net_ip_top_fd, IOCTLV_SO_SENDTO, "dd:", message_buf, len, params, sizeof(struct sendto_params))); debug_printf("net_send retuned %d\n", ret); + if(message_buf!=NULL) iosFree(__net_hid, message_buf); + return ret; }