(svn r20089) -Fix [FS#3932]: Access of already freed memory, esp. due to hidden destructor call from Swap().

This commit is contained in:
frosch
2010-07-08 18:38:38 +00:00
parent 88a1fe9be0
commit 13a46514a7
3 changed files with 21 additions and 6 deletions

View File

@@ -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.