Project

General

Profile

« Previous | Next » 

Revision 39c37acf

Added by jeremyevans (Jeremy Evans) almost 6 years ago

Fix memory leak when adding empty keyword hashes

nagachika pointed out that ALLOC_N is actually just malloc, so
this memory wasn't being freed. This shouldn't be a performance
sensitive code path, and will be going away after 2.7, so just
allocate a temp buffer that will be freed later by Ruby GC.