<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -8,6 +8,7 @@ version 0.7.2 - xxx
  . Particles: texture is a property (issue #282)
  . SoundSupport: supports vorbis codec (issue #XXX)      &lt;------------- XXX CREATE ISSUE XXX
  . TextureAtlas: fixed colorarray memory leak (issue #272)
+ . TextureNode: texture is &quot;retain&quot; not &quot;assign&quot; (issue #230 and issue #274)
  . TileMapAtlas: supports fullpath (issue #220)
  
 version 0.7.1 - 20-Mar-2009</diff>
      <filename>CHANGELOG</filename>
    </modified>
    <modified>
      <diff>@@ -74,11 +74,14 @@
 - (void) setString:(NSString*)string
 {
 	if( CGSizeEqualToSize( _dimensions, CGSizeZero ) )
-		// DON'T use property to prevent double retain
-		texture = [[Texture2D alloc] initWithString:string fontName:_fontName fontSize:_fontSize];
+		// WARNING: double retain
+		self.texture = [[Texture2D alloc] initWithString:string fontName:_fontName fontSize:_fontSize];
 	else
-		// DON'T use property to prevent double retain
-		texture = [[Texture2D alloc] initWithString:string dimensions:_dimensions alignment:_alignment fontName:_fontName fontSize:_fontSize];
+		// WARNING: double retain
+		self.texture = [[Texture2D alloc] initWithString:string dimensions:_dimensions alignment:_alignment fontName:_fontName fontSize:_fontSize];
+	
+	// end of warning. 1 retain only
+	[self.texture release];
 
 	CGSize s = texture.contentSize;
 	transformAnchor = cpv( s.width/2, s.height/2);</diff>
      <filename>cocos2d/Label.m</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>caf6cc2157f94427fb76c07cad00d13928f0a6d6</id>
    </parent>
  </parents>
  <author>
    <name>ricardoquesada</name>
    <email>ricardoquesada@79afc9a6-2f50-0410-804d-6f1bdedaafc9</email>
  </author>
  <url>http://github.com/nullstyle/cocos2d-iphone/commit/29a150fa1d261f8e889c632476ca1576a64f1604</url>
  <id>29a150fa1d261f8e889c632476ca1576a64f1604</id>
  <committed-date>2009-03-27T14:31:03-07:00</committed-date>
  <authored-date>2009-03-27T14:31:03-07:00</authored-date>
  <message>oops... setString must release previous allocated string. using self.texture 'retain' to do that

git-svn-id: http://cocos2d-iphone.googlecode.com/svn/trunk@737 79afc9a6-2f50-0410-804d-6f1bdedaafc9</message>
  <tree>a963be973ae3aff839a449b6ef87cf6ee3b3a87b</tree>
  <committer>
    <name>ricardoquesada</name>
    <email>ricardoquesada@79afc9a6-2f50-0410-804d-6f1bdedaafc9</email>
  </committer>
</commit>
