projects
/
ruby-vorbistagger.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Split MainTest#test_modify_key into two smaller tests.
[ruby-vorbistagger.git]
/
ext
/
comments.c
diff --git
a/ext/comments.c
b/ext/comments.c
index bc7d844d0d10cf9829f7dd99f3fab4a4ac9912b2..27ea5c7008dba528a6dff0de6e8fe6b7d6010269 100644
(file)
--- a/
ext/comments.c
+++ b/
ext/comments.c
@@
-355,7
+355,7
@@
c_aset (VALUE self, VALUE key, VALUE value)
}
}
- tmp = rb_ary_new3 (2,
key
, value);
+ tmp = rb_ary_new3 (2,
rb_str_dup_frozen (key)
, value);
OBJ_FREEZE (tmp);
rb_ary_push (o->items, tmp);