[MacRuby/MacRuby] 76e943: use the xfree() when deallocate the memory using x...
27 May
2011
27 May
'11
2:40 a.m.
Branch: refs/heads/master Home: https://github.com/MacRuby/MacRuby Commit: 76e9435ed705ae26d5d396f8efbe482ecb151579 https://github.com/MacRuby/MacRuby/commit/76e9435ed705ae26d5d396f8efbe482ecb... Author: Watson <watson1978@gmail.com> Date: 2011-05-26 (Thu, 26 May 2011) Changed paths: M file.c Log Message: ----------- use the xfree() when deallocate the memory using xmalloc(). Test Script: {{{ File.open("/tmp/foo", "w") {|f| f.write "foo\nbar" } stat1 = File::Stat.new("/usr/local/bin/macruby") stat2 = File::Stat.new("/tmp/foo") stat1.send(:initialize_copy, stat2) }}}
5279
Age (days ago)
5279
Last active (days ago)
0 comments
1 participants
participants (1)
-
noreply@github.com