[前][次][番号順一覧][スレッド一覧]

ruby-changes:20328

From: yugui <ko1@a...>
Date: Sun, 3 Jul 2011 21:23:47 +0900 (JST)
Subject: [ruby-changes:20328] yugui:r32376 (ruby_1_9_2): merges r31930 from trunk into ruby_1_9_2.

yugui	2011-07-03 21:23:33 +0900 (Sun, 03 Jul 2011)

  New Revision: 32376

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=32376

  Log:
    merges r31930 from trunk into ruby_1_9_2.
    --
    * ext/psych/parser.c (parse): release event objects to plug memory
    leak.  Thanks Mark J. Titorenko!

  Modified files:
    branches/ruby_1_9_2/ChangeLog
    branches/ruby_1_9_2/ext/psych/parser.c
    branches/ruby_1_9_2/version.h

Index: ruby_1_9_2/ChangeLog
===================================================================
--- ruby_1_9_2/ChangeLog	(revision 32375)
+++ ruby_1_9_2/ChangeLog	(revision 32376)
@@ -1,3 +1,8 @@
+Mon Jun  6 09:39:43 2011  Aaron Patterson <aaron@t...>
+
+	* ext/psych/parser.c (parse): release event objects to plug memory
+	leak.  Thanks Mark J. Titorenko!
+
 Tue Dec 21 00:46:20 2010  KOSAKI Motohiro  <kosaki.motohiro@g...>
 
 	* thread.c (thread_cleanup_func): Don't touch native threading
Index: ruby_1_9_2/ext/psych/parser.c
===================================================================
--- ruby_1_9_2/ext/psych/parser.c	(revision 32375)
+++ ruby_1_9_2/ext/psych/parser.c	(revision 32376)
@@ -295,6 +295,7 @@
 	    done = 1;
 	    break;
 	}
+	yaml_event_delete(&event);
     }
 
     return self;
Index: ruby_1_9_2/version.h
===================================================================
--- ruby_1_9_2/version.h	(revision 32375)
+++ ruby_1_9_2/version.h	(revision 32376)
@@ -1,5 +1,5 @@
 #define RUBY_VERSION "1.9.2"
-#define RUBY_PATCHLEVEL 275
+#define RUBY_PATCHLEVEL 276
 #define RUBY_VERSION_MAJOR 1
 #define RUBY_VERSION_MINOR 9
 #define RUBY_VERSION_TEENY 1

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]