Re: [Patch] String and (repost) MemLeak
From:
matz@... (Yukihiro Matsumoto)
Date:
2003-03-04 20:44:53 UTC
List:
ruby-core #916
Hi,
In message "Re: [Patch] String and (repost) MemLeak"
on 03/03/05, Michal Rokos <michal@rokos.homeip.net> writes:
|PS: Maybe checking whether ptr is not NULL in rb_str_buf_cat wasn't such
|a bad point (unlike the rest thing about setting len)...
I think rb_str_buf() requires ptr not to be NULL, so that check isn't
needed at all. MEMZERO() will be removed too.
matz.