GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: a tiny graphical app kit for ruby
Homepage: http://code.whytheluckystiff.net/shoes
Clone URL: git://github.com/why/shoes.git
 * shoes/native/cocoa.m: use the autorelease macros to release the font 
 name.
why (author)
Mon Oct 06 20:33:54 -0700 2008
commit  7d7aff98f735025a8d8bbd4f09ada57efb43f7ed
tree    d7d8b106adc639232da39ae5ac5b8a5ca6acd910
parent  b97cc54ec16589bbe9bda27d394c169908da0d69
...
490
491
492
 
493
494
495
...
507
508
509
 
510
511
512
...
490
491
492
493
494
495
496
...
508
509
510
511
512
513
514
0
@@ -490,6 +490,7 @@ create_help_menu(NSMenu *main)
0
 VALUE
0
 shoes_font_list()
0
 {
0
+ INIT;
0
   ATSFontIterator fi = NULL;
0
   ATSFontRef fontRef = 0;
0
   NSMutableArray *outArray;
0
@@ -507,6 +508,7 @@ shoes_font_list()
0
   }
0
   
0
   ATSFontIteratorRelease(&fi);
0
+ RELEASE;
0
   rb_funcall(ary, rb_intern("uniq!"), 0);
0
   rb_funcall(ary, rb_intern("sort!"), 0);
0
   return ary;

Comments

    No one has commented yet.