changeset 5609 | dc6a58930ba4 |
parent 5587 | 167d9a91ef02 |
child 5658 | 1e8be78c0bd7 |
--- a/src/network/network_gui.cpp Thu Jan 11 15:30:35 2007 +0000 +++ b/src/network/network_gui.cpp Thu Jan 11 17:29:39 2007 +0000 @@ -167,7 +167,7 @@ /* Create temporary array of games to use for listing */ free(nqld->sort_list); - MallocT(&nqld->sort_list, n); + nqld->sort_list = MallocT<NetworkGameList*>(n); if (nqld->sort_list == NULL) error("Could not allocate memory for the network-game-sorting-list"); nqld->l.list_length = n;