Skip to content

Commit

Permalink
build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyMusatkin committed Jul 18, 2024
1 parent 060555d commit fe1ad69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/json.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ bool aws_json_value_has_key_c_str(const struct aws_json_value *object, const cha
int aws_json_value_remove_from_object(struct aws_json_value *object, struct aws_byte_cursor key) {

struct aws_string *tmp = aws_string_new_from_cursor(s_aws_json_module_allocator, &key);
int result = aws_json_value_remove_from_object_c_str(object, aws_string_c_str(key));
int result = aws_json_value_remove_from_object_c_str(object, aws_string_c_str(tmp));

aws_string_destroy_secure(tmp);
return result;
Expand Down

0 comments on commit fe1ad69

Please sign in to comment.