From: Yukihiro Matsumoto Date: 2004-09-19T21:15:28+09:00 Subject: Re: [PATCH] dir.c (II) Hi, In message "Johan Holmberg " on Sun, 19 Sep 2004 21:06:17 +0900, nil writes: |The commit done yesterday still have the memory leak |in the the following expression | | rb_str_new2(my_getcwd()) Oops. Thank you. |Would it be wrong to use "dir_s_getwd(rb_cDir)" now that the code |is rewritten to use VALUEs? That function seems to do the right |thing (including a call to "free"). | |I also noted that the change was only applied on the "ruby_1_8" |branch. | |/Johan Holmberg | |