[MacRuby] #1098: assert that all memory allocations actually succeeded

MacRuby ruby-noreply at macosforge.org
Tue Apr 19 20:19:07 PDT 2011


#1098: assert that all memory allocations actually succeeded
-----------------------------------+----------------------------------------
 Reporter:  lsansonetti@…          |       Owner:  lsansonetti@…        
     Type:  defect                 |      Status:  new                  
 Priority:  blocker                |   Milestone:  MacRuby 1.0          
Component:  MacRuby                |    Keywords:                       
-----------------------------------+----------------------------------------

Comment(by scanfield@…):

 I'm happy to fix this, but looking at the code I wasn't sure -- should I
 replace all malloc calls with calls to xmalloc? Or just add individual
 asserts?
 xmalloc makes more sense to me but I don't know the local style.

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1098#comment:5>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list