str.__mul__ should takeString, not copyString
This commit is contained in:
parent
dc361af48b
commit
06bb0fdefb
@ -331,7 +331,7 @@ KRK_METHOD(str,__mul__,{
|
||||
}
|
||||
|
||||
*c = '\0';
|
||||
return OBJECT_VAL(krk_copyString(out, totalLength));
|
||||
return OBJECT_VAL(krk_takeString(out, totalLength));
|
||||
})
|
||||
|
||||
#define unpackArray(counter, indexer) do { \
|
||||
|
Loading…
Reference in New Issue
Block a user