[macruby-changes] [2352] MacRuby/trunk/ext/zlib/zlib.c
source_changes at macosforge.org
source_changes at macosforge.org
Thu Aug 20 11:39:24 PDT 2009
Revision: 2352
http://trac.macosforge.org/projects/ruby/changeset/2352
Author: pthomson at apple.com
Date: 2009-08-20 11:39:23 -0700 (Thu, 20 Aug 2009)
Log Message:
-----------
Fixed the GC problems, thanks to Laurent.
Modified Paths:
--------------
MacRuby/trunk/ext/zlib/zlib.c
Modified: MacRuby/trunk/ext/zlib/zlib.c
===================================================================
--- MacRuby/trunk/ext/zlib/zlib.c 2009-08-20 18:39:22 UTC (rev 2351)
+++ MacRuby/trunk/ext/zlib/zlib.c 2009-08-20 18:39:23 UTC (rev 2352)
@@ -397,8 +397,8 @@
z->buf = Qnil;
z->buf_filled = 0;
z->input = Qnil;
- z->stream.zalloc = zlib_mem_alloc;
- z->stream.zfree = zlib_mem_free;
+ z->stream.zalloc = Z_NULL;
+ z->stream.zfree = Z_NULL;
z->stream.opaque = Z_NULL;
z->stream.msg = Z_NULL;
z->stream.next_in = Z_NULL;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090820/fc4f1365/attachment.html>
More information about the macruby-changes
mailing list