Skip to content

chainmaker after pointer free should set NULL #666

@Cavalierliu

Description

@Cavalierliu

invoke_response->gas_used = transactation_info->transaction->result->contract_result->gas_used;
if (tx_response != NULL)
{
common__tx_response__free_unpacked(tx_response, NULL);
}

  1. in the code above,after tx_response free,should Manually set to NULL

Metadata

Metadata

Assignees

Labels

Priority/P2Medium priority. Features that will not affect version release.Severity/moderateModerate features.bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions