Skip to content

Commit

Permalink
Revert "Update dependency: deps/k_release (#156)"
Browse files Browse the repository at this point in the history
This reverts commit 1aa2e24.
  • Loading branch information
ehildenb committed Sep 29, 2023
1 parent 5cd26b3 commit c28f76c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deps/k_release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.0.119
6.0.10
2 changes: 1 addition & 1 deletion plugin-c/json.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ struct KoreHandler : BaseReaderHandler<UTF8<>, KoreHandler> {
stringinj *inj = (stringinj *)koreAlloc(sizeof(stringinj));
inj->h = strHdr;
string *token = (string *)koreAllocToken(sizeof(string) + len);
init_with_len(token, len);
set_len(token, len);
memcpy(token->data, str, len);
inj->data = token;
result = (block *)inj;
Expand Down
2 changes: 1 addition & 1 deletion plugin-c/plugin_util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
extern "C" {
string* allocString(size_t len) {
struct string *result = (struct string *)koreAllocToken(len + sizeof(string));
init_with_len(result, len);
set_len(result, len);
return result;
}

Expand Down

0 comments on commit c28f76c

Please sign in to comment.