aboutsummaryrefslogtreecommitdiffstats
path: root/ext/strscan
diff options
context:
space:
mode:
authorUrabe, Shyouhei <shyouhei@ruby-lang.org>2019-04-24 12:24:44 +0900
committerUrabe, Shyouhei <shyouhei@ruby-lang.org>2019-04-26 15:59:40 +0900
commitb11b26bcaf711ad01d1a81943cca42f7ff40bfee (patch)
tree4ccd063fd9457f17699bb3467996c293c9ee1c1a /ext/strscan
parent6201a89b38afb6bb2a548aeba0ca77090851713b (diff)
downloadruby-b11b26bcaf711ad01d1a81943cca42f7ff40bfee.tar.gz
fix size of allocated memory
The size of `ptr` here is not the same as the variable `size`. We were counting the size of header twice.
Diffstat (limited to 'ext/strscan')
0 files changed, 0 insertions, 0 deletions