[macruby-changes] [2472] MacRuby/trunk/ext/zlib/zlib.c

source_changes at macosforge.org source_changes at macosforge.org
Fri Sep 4 14:08:13 PDT 2009


Revision: 2472
          http://trac.macosforge.org/projects/ruby/changeset/2472
Author:   lsansonetti at apple.com
Date:     2009-09-04 14:08:12 -0700 (Fri, 04 Sep 2009)
Log Message:
-----------
let's not forget to close the stream (how did we forget this?)

Modified Paths:
--------------
    MacRuby/trunk/ext/zlib/zlib.c

Modified: MacRuby/trunk/ext/zlib/zlib.c
===================================================================
--- MacRuby/trunk/ext/zlib/zlib.c	2009-09-04 21:07:43 UTC (rev 2471)
+++ MacRuby/trunk/ext/zlib/zlib.c	2009-09-04 21:08:12 UTC (rev 2472)
@@ -1667,7 +1667,7 @@
 {
     VALUE io = gz->io;
 
-    
+    gz->end(gz);    
     gz->io = Qnil;
     gz->orig_name = Qnil;
     gz->comment = Qnil;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090904/27f7c025/attachment.html>


More information about the macruby-changes mailing list