[xiph-commits] r10779 - trunk/oggdsf/src/lib/codecs/cmml/libCMMLTags

illiminable at svn.xiph.org illiminable at svn.xiph.org
Wed Feb 1 20:07:42 PST 2006


Author: illiminable
Date: 2006-02-01 20:07:38 -0800 (Wed, 01 Feb 2006)
New Revision: 10779

Modified:
   trunk/oggdsf/src/lib/codecs/cmml/libCMMLTags/C_CMMLDoc.cpp
Log:
* Double deallocation, fix in trunk too.

Modified: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTags/C_CMMLDoc.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTags/C_CMMLDoc.cpp	2006-02-01 00:04:04 UTC (rev 10778)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTags/C_CMMLDoc.cpp	2006-02-02 04:07:38 UTC (rev 10779)
@@ -50,7 +50,7 @@
 C_CMMLDoc* C_CMMLDoc::clone() 
 {
 	C_CMMLDoc* retDoc = new C_CMMLDoc();
-	retDoc->mPreamble = mPreamble;
+	retDoc->mPreamble = mPreamble->clone();
 	retDoc->mRoot = mRoot->clone();
 
 	return retDoc;



More information about the commits mailing list