[macruby-changes] [214] MacRuby/trunk/file.c
source_changes at macosforge.org
source_changes at macosforge.org
Fri May 23 12:35:50 PDT 2008
Revision: 214
http://trac.macosforge.org/projects/ruby/changeset/214
Author: lsansonetti at apple.com
Date: 2008-05-23 12:35:49 -0700 (Fri, 23 May 2008)
Log Message:
-----------
and do not leak the result string
Modified Paths:
--------------
MacRuby/trunk/file.c
Modified: MacRuby/trunk/file.c
===================================================================
--- MacRuby/trunk/file.c 2008-05-23 19:34:15 UTC (rev 213)
+++ MacRuby/trunk/file.c 2008-05-23 19:35:49 UTC (rev 214)
@@ -3232,6 +3232,7 @@
CFStringAppend(mstr, (CFStringRef)tmp);
}
}
+ CFMakeCollectable(mstr);
return (VALUE)mstr;
#else
long len, i, count;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macruby-changes/attachments/20080523/84adf621/attachment.htm
More information about the macruby-changes
mailing list