Revision
3762
Author
lsansonetti@apple.com
Date
2010-03-13 00:37:11 -0800 (Sat, 13 Mar 2010)

Log Message

oops

Modified Paths

Diff

Modified: MacRuby/trunk/string.c (3761 => 3762)


--- MacRuby/trunk/string.c	2010-03-13 07:28:48 UTC (rev 3761)
+++ MacRuby/trunk/string.c	2010-03-13 08:37:11 UTC (rev 3762)
@@ -5450,6 +5450,7 @@
 			"cannot coerce NSString %p as UTF-8 data", (void *)str);
 	    }
 	    str = rb_str_new2(buf);
+	    free(buf);
 	}
     }
     str_make_data_binary(RSTR(str));