diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | dir.c | 1 |
2 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,7 @@ +Sun Jun 29 11:36:20 2008 Yusuke Endoh <mame@tsg.ne.jp> + + * dir.rb: fix resource leak. + Sun Jun 29 09:43:10 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> * lib/tmpdir.rb (@@systmpdir): prior LOCAL_APPDATA if possible, and @@ -1351,6 +1351,7 @@ glob_helper( new_beg = new_end = GLOB_ALLOC_N(struct glob_pattern *, (end - beg) * 2); if (!new_beg) { + GLOB_FREE(buf); status = -1; break; } |