summaryrefslogtreecommitdiff
path: root/ext/io
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2019-09-14 02:21:37 -0700
committerJeremy Evans <code@jeremyevans.net>2019-09-14 02:21:37 -0700
commit39c37acf86960ae745c4d690fe2d9dd38cd96fba (patch)
tree6cee7aef6e2db784c0698ba490dd23fb18e2a573 /ext/io
parentb78a345bd63ff2b52ea0f84754ab0988748a9bd0 (diff)
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.
Diffstat (limited to 'ext/io')
0 files changed, 0 insertions, 0 deletions