From 4ce5c6d93dea944df7de559ea62b625a3643ce52 Mon Sep 17 00:00:00 2001 From: frosch Date: Thu, 8 Jul 2010 18:38:38 +0000 Subject: (svn r20089) -Fix [FS#3932]: Access of already freed memory, esp. due to hidden destructor call from Swap(). --- src/network/core/tcp_content.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/network/core/tcp_content.h') diff --git a/src/network/core/tcp_content.h b/src/network/core/tcp_content.h index 3b82696df..24b87f16f 100644 --- a/src/network/core/tcp_content.h +++ b/src/network/core/tcp_content.h @@ -88,6 +88,8 @@ struct ContentInfo { /** Free everything allocated */ ~ContentInfo(); + void TransferFrom(ContentInfo *other); + /** * Get the size of the data as send over the network. * @return the size. -- cgit v1.2.3-54-g00ecf