summaryrefslogtreecommitdiff
path: root/debug_counter.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-04-06 13:21:18 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-04-06 13:21:18 +0000
commitfe979e5bce4d5606d491ed25e603f5504a20c500 (patch)
treef2f389c56eeaa4b71914477ab5286f7ff565252a /debug_counter.h
parentf15d04358827d60a708f296973c420b2c031ac5e (diff)
internal.h: fix potential memory leak
* internal.h (rb_imemo_tmpbuf_auto_free_pointer_new_from_an_RString): create tmpbuf to keep the pointer before xmalloc which can raise a NoMemoryError exception. extracted from https://github.com/bear-metal/ruby/tree/transient-imemo-tmpbuf git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'debug_counter.h')
0 files changed, 0 insertions, 0 deletions