summaryrefslogtreecommitdiff
path: root/ext/gdbm/README
diff options
context:
space:
mode:
authorrhe <rhe@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-22 07:18:54 +0000
committerrhe <rhe@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-22 07:18:54 +0000
commitde7a010a502517d7a38d702646f2101e48a50129 (patch)
tree097b4d2392c72e17c06cdda9beccd760018e6ec4 /ext/gdbm/README
parent15c78e30d6a2874860d5b8b398cb8e939f2055b4 (diff)
gdbm, dbm, sdbm: prevent memory leak in #initialize
Have the allocator function allocate struct dbmdata too. #initialize should not call ALLOC() after opening a file since it can fail with NoMemoryError, leaking the opened file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/gdbm/README')
0 files changed, 0 insertions, 0 deletions