diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-02-06 01:31:53 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-02-06 01:31:53 +0000 |
commit | b4f61ad610536eb8102c31b882dda44967ecd5a9 (patch) | |
tree | 2979c68c4428ddebfabc8c5cf656bfe35945ae6e /vm_core.h | |
parent | e27a538eab6a186be4d92147fd51d23eb4503abd (diff) | |
download | ruby-b4f61ad610536eb8102c31b882dda44967ecd5a9.tar.gz |
vm_core.h: fix symbols leak
* vm_core.h (rb_call_info_kw_arg_struct): make keywords a symbols
list to get rid of inadvertent creation by variable keyword
arguments. [ruby-core:68031] [Bug #10831]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r-- | vm_core.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -137,7 +137,7 @@ struct rb_control_frame_struct; typedef struct rb_call_info_kw_arg_struct { int keyword_len; - ID keywords[1]; + VALUE keywords[1]; } rb_call_info_kw_arg_t; /* rb_call_info_t contains calling information including inline cache */ |