summaryrefslogtreecommitdiff
path: root/src/network/network_content.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/network_content.cpp')
-rw-r--r--src/network/network_content.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/network/network_content.cpp b/src/network/network_content.cpp
index f85c942af..eff54885d 100644
--- a/src/network/network_content.cpp
+++ b/src/network/network_content.cpp
@@ -150,9 +150,8 @@ bool ClientNetworkContentSocketHandler::Receive_SERVER_INFO(Packet *p)
* As ici might be selected by the content window we cannot delete that.
* However, we want to keep most of the values of ci, except the values
* we (just) already preserved.
- * So transfer data and ownership of allocated memory from ci to ici.
*/
- ici->TransferFrom(ci);
+ *ici = *ci;
delete ci;
this->OnReceiveContentInfo(ici);